Merge "Indicate the actual version of HHVM in use"
[lhc/web/wiklou.git] / includes / installer / Installer.php
index 195c564..987925c 100644 (file)
@@ -539,6 +539,7 @@ abstract class Installer {
                // registration out of the global scope and into a real format.
                // @see https://bugzilla.wikimedia.org/67440
                global $wgAutoloadClasses;
+               $wgAutoloadClasses = array();
 
                wfSuppressWarnings();
                $_lsExists = file_exists( "$IP/LocalSettings.php" );
@@ -739,6 +740,7 @@ abstract class Installer {
        /**
         * Environment check for register_globals.
         * Prevent installation if enabled
+        * @return bool
         */
        protected function envCheckRegisterGlobals() {
                if ( wfIniGetBool( 'register_globals' ) ) {
@@ -1522,6 +1524,7 @@ abstract class Installer {
                        array( 'name' => 'interwiki', 'callback' => array( $installer, 'populateInterwikiTable' ) ),
                        array( 'name' => 'stats', 'callback' => array( $this, 'populateSiteStats' ) ),
                        array( 'name' => 'keys', 'callback' => array( $this, 'generateKeys' ) ),
+                       array( 'name' => 'updates', 'callback' => array( $installer, 'insertUpdateKeys' ) ),
                        array( 'name' => 'sysop', 'callback' => array( $this, 'createSysop' ) ),
                        array( 'name' => 'mainpage', 'callback' => array( $this, 'createMainpage' ) ),
                );