r62216 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62215‎ | r62216 | r62217 >
Date:01:43, 10 February 2010
Author:demon
Status:ok
Tags:
Comment:
Followup r62067, drop $wgUseNormalUser as un-needed
Modified paths:
  • /trunk/phase3/maintenance/runJobs.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/runJobs.php
@@ -28,13 +28,11 @@
2929
3030 class RunJobs extends Maintenance {
3131 public function __construct() {
32 - global $wgUseNormalUser;
3332 parent::__construct();
3433 $this->mDescription = "Run pending jobs";
3534 $this->addOption( 'maxjobs', 'Maximum number of jobs to run', false, true );
3635 $this->addOption( 'type', 'Type of job to run', false, true );
3736 $this->addOption( 'procs', 'Number of processes to use', false, true );
38 - $wgUseNormalUser = true;
3937 }
4038
4139 public function memoryLimit() {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r62067Use $wgUseNormalUser only in commandLine.inc (and use getDbType() instead in ...ialex14:29, 6 February 2010

Status & tagging log