From: Chad Horohoe Date: Sun, 15 Aug 2010 18:24:26 +0000 (+0000) Subject: Ended up doing $doUser differently X-Git-Tag: 1.31.0-rc.0~35472 X-Git-Url: http://git.cyclocoop.org/%24dirpuce/puce%24spip_lang_rtl.gif?a=commitdiff_plain;h=f69b4775ddb489f946b0a1b2d833227aefde276c;p=lhc%2Fweb%2Fwiklou.git Ended up doing $doUser differently --- diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php index 44d127448c..a85be1299f 100644 --- a/includes/installer/DatabaseUpdater.php +++ b/includes/installer/DatabaseUpdater.php @@ -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;