[BUGFIX] Configure configuration in EM crashes
authorPhilipp Gampe <dev@philippgampe.info>
Sat, 22 Sep 2012 22:41:52 +0000 (00:41 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Sun, 23 Sep 2012 18:57:52 +0000 (20:57 +0200)
This is due to a wrong typehint of a not used parameter.
Solution: Remove the unused parameters.

Fixes: #41275
Releases: 6.0

Change-Id: Iba36767d287bba93b81d00d0ac2ce2421282d5ec
Reviewed-on: http://review.typo3.org/14957
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/dbal/Classes/ExtensionManager/MessageDisplay.php
typo3/sysext/dbal/ext_conf_template.txt

index 2c553c4..66bcf21 100644 (file)
@@ -38,12 +38,9 @@ class MessageDisplay {
        /**
         * Renders a message for EM.
         *
-        * @param array $params
-        * @param \TYPO3\CMS\Core\TypoScript\ConfigurationForm $tsObj
         * @return string
-        * @todo Define visibility
         */
-       public function displayMessage(array &$params, \TYPO3\CMS\Core\TypoScript\ConfigurationForm $tsObj) {
+       public function displayMessage() {
                $out = '
                        <div>
                                <div class="typo3-message message-information">
index 44fe9d1..dec3ec6 100644 (file)
@@ -1,6 +1,6 @@
   # cat=basic; type=boolean; label=Enable MySQL pass-through: Method $GLOBALS['TYPO3_DB']->sql_query() is only experimentally supported by DBAL. Its use should be avoided. When active, this flag tells DBAL to not try to parse the query and always send it as-this to MySQL, thus as if DBAL were not loaded.
 sql_query.passthrough=1
 
-  # cat=basic; type=user[EXT:dbal/lib/class.tx_dbal_tsparserext.php:tx_dbal_tsparserext->displayMessage];
+  # cat=basic; type=user[EXT:dbal/Classes/ExtensionManager/MessageDisplay.php:TYPO3\CMS\Dbal\ExtensionManager\MessageDisplay->displayMessage];
 Compatibility=