[BUGFIX] Allow proper method override in tx_coreupdates_installsysexts
authorXavier Perseguers <xavier@typo3.org>
Mon, 19 Sep 2011 20:30:28 +0000 (22:30 +0200)
committerXavier Perseguers <xavier@typo3.org>
Mon, 19 Sep 2011 20:39:05 +0000 (22:39 +0200)
Method tx_coreupdates_installsysexts::performUpdate() cannot be properly overriden
because its signature is incomplete.

This leads to PHP notices.

Change-Id: Iaf13c166c07d04ee194bec1543ac5ae450f1e38b
Fixes: #30053
Releases: 4.6
Reviewed-on: http://review.typo3.org/5078
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/sysext/install/updates/class.tx_coreupdates_installsysexts.php

index bea993c..a4e07de 100644 (file)
@@ -127,7 +127,7 @@ class tx_coreupdates_installsysexts extends Tx_Install_Updates_Base {
         * @param       mixed           &$customMessages: custom messages
         * @return      boolean         whether it worked (TRUE) or not (FALSE)
         */
-       public function performUpdate(&$dbQueries, &$customMessages) {
+       public function performUpdate(array &$dbQueries, &$customMessages) {
 
                        // Get extension keys that were submitted by the user to be installed and that are valid for this update wizard
                if (is_array($this->pObj->INSTALL['update']['installSystemExtensions']['sysext'])) {