r71138 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71137‎ | r71138 | r71139 >
Date:18:24, 15 August 2010
Author:demon
Status:ok
Tags:
Comment:
Ended up doing $doUser differently
Modified paths:
  • /trunk/phase3/includes/installer/DatabaseUpdater.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/installer/DatabaseUpdater.php
@@ -37,11 +37,11 @@
3838 }
3939 }
4040
41 - public function doUpdates( $doUser = false ) {
 41+ public function doUpdates() {
4242 global $IP, $wgVersion;
4343 require_once( "$IP/maintenance/updaters.inc" );
4444 $this->updates = array_merge( $this->getCoreUpdateList(),
45 - $this->getOldGlobalUpdates( $doUser ) );
 45+ $this->getOldGlobalUpdates() );
4646 foreach ( $this->updates as $params ) {
4747 $func = array_shift( $params );
4848 call_user_func_array( $func, $params );
@@ -81,7 +81,7 @@
8282 * version these like we do with our core updates, so they have to go
8383 * in 'always'
8484 */
85 - private function getOldGlobalUpdates( $douser ) {
 85+ private function getOldGlobalUpdates() {
8686 global $wgUpdates, $wgExtNewFields, $wgExtNewTables,
8787 $wgExtModifiedFields, $wgExtNewIndexes, $wgSharedDB, $wgSharedTables;
8888

Status & tagging log