Followup r75575
reedy@ubuntu64-esxi:~/mediawiki/trunk/phase3/maintenance$ php cleanupRemovedModules.php Fatal error: Call to undefined method ResourceLoader::getModules() in /home/reedy/mediawiki/trunk/phase3/maintenance/cleanupRemovedModules.php on line 40
This commit is contained in:
parent
135d0998b6
commit
298d0344da
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class CleanupRemovedModules extends Maintenance {
|
|||
public function execute() {
|
||||
$dbw = wfGetDB( DB_MASTER );
|
||||
$rl = new ResourceLoader();
|
||||
$moduleNames = array_keys( $rl->getModules() );
|
||||
$moduleNames = array_keys( $rl->getModuleNames() );
|
||||
$moduleList = implode( ', ', array_map( array( $dbw, 'addQuotes' ), $moduleNames ) );
|
||||
$limit = max( 1, intval( $this->getOption( 'batchsize', 500 ) ) );
|
||||
$maxlag = intval( $this->getOption( 'max-slave-lag', 5 ) );
|
||||
|
|
|
|||
Loading…
Reference in a new issue