X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FrunJobs.php;h=f7d5fc07e7db8aa4c3c35f69d0340185437e8094;hb=3e326854f24c7f0bcc9a858523f2189799f53cbd;hp=7c896d2432760ad2ce21609d4227ab84f2118e2e;hpb=da39646ddc98bce9cc1243ab217428e449b5d9ae;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/runJobs.php b/maintenance/runJobs.php index 7c896d2432..f7d5fc07e7 100644 --- a/maintenance/runJobs.php +++ b/maintenance/runJobs.php @@ -47,8 +47,6 @@ class RunJobs extends Maintenance { } public function execute() { - global $wgTitle; - if ( wfReadOnly() ) { $this->error( "Unable to run jobs; the wiki is in read-only mode.", 1 ); // die } @@ -69,7 +67,6 @@ class RunJobs extends Maintenance { $maxJobs = $this->getOption( 'maxjobs', false ); $maxTime = $this->getOption( 'maxtime', false ); $startTime = time(); - $wgTitle = Title::newFromText( 'RunJobs.php' ); $group = JobQueueGroup::singleton(); // Handle any required periodic queue maintenance