Ended up doing $doUser differently
authorChad Horohoe <demon@users.mediawiki.org>
Sun, 15 Aug 2010 18:24:26 +0000 (18:24 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sun, 15 Aug 2010 18:24:26 +0000 (18:24 +0000)
includes/installer/DatabaseUpdater.php

index 44d1274..a85be12 100644 (file)
@@ -37,11 +37,11 @@ abstract class DatabaseUpdater {
                }
        }
 
-       public function doUpdates( $doUser = false ) {
+       public function doUpdates() {
                global $IP, $wgVersion;
                require_once( "$IP/maintenance/updaters.inc" );
                $this->updates = array_merge( $this->getCoreUpdateList(),
-                       $this->getOldGlobalUpdates( $doUser ) );
+                       $this->getOldGlobalUpdates() );
                foreach ( $this->updates as $params ) {
                        $func = array_shift( $params );
                        call_user_func_array( $func, $params );
@@ -81,7 +81,7 @@ abstract class DatabaseUpdater {
         * version these like we do with our core updates, so they have to go
         * in 'always'
         */
-       private function getOldGlobalUpdates( $douser ) {
+       private function getOldGlobalUpdates() {
                global $wgUpdates, $wgExtNewFields, $wgExtNewTables,
                        $wgExtModifiedFields, $wgExtNewIndexes, $wgSharedDB, $wgSharedTables;