array_unshift() returns the count of elements in the array, not the array and thus...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 12 May 2010 20:01:11 +0000 (20:01 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 12 May 2010 20:01:11 +0000 (20:01 +0000)
includes/installer/Installer.php

index d055e0e..ac68336 100644 (file)
@@ -826,7 +826,7 @@ abstract class Installer {
                        $this->installSteps = array( 'localsettings' );
                }
                if( count( $this->getVar( '_Extensions' ) ) ) {
-                       $this->installSteps = array_unshift( $this->installSteps, 'extensions' );
+                       array_unshift( $this->installSteps, 'extensions' );
                }
                return $this->installSteps;
        }