From e9a65a51947abbe5c905a43dfb6775cdf2106e32 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 21 Apr 2015 16:20:31 -0700 Subject: [PATCH] Removed redundant wfReadOnly check in runJobs.php * JobRunner handles this and doing it pre-fork is less safe Change-Id: I9e53e6b2d04f3f370723af8140e796ba337cfd3b --- maintenance/runJobs.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/maintenance/runJobs.php b/maintenance/runJobs.php index 3864e3c607..c8445da72d 100644 --- a/maintenance/runJobs.php +++ b/maintenance/runJobs.php @@ -52,10 +52,6 @@ class RunJobs extends Maintenance { } public function execute() { - if ( wfReadOnly() ) { - $this->error( "Unable to run jobs; the wiki is in read-only mode.", 1 ); // die - } - if ( $this->hasOption( 'procs' ) ) { $procs = intval( $this->getOption( 'procs' ) ); if ( $procs < 1 || $procs > 1000 ) { -- 2.20.1