From: Tim Starling Date: Wed, 2 Aug 2006 03:27:08 +0000 (+0000) Subject: Don't run jobs in read only mode. X-Git-Tag: 1.31.0-rc.0~56109 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=49dedbcd8f945079c5817e0d57f2c96ba4e699d1;p=lhc%2Fweb%2Fwiklou.git Don't run jobs in read only mode. --- diff --git a/includes/Wiki.php b/includes/Wiki.php index d2f51f851d..2166f7cc54 100644 --- a/includes/Wiki.php +++ b/includes/Wiki.php @@ -270,7 +270,7 @@ class MediaWiki { function doJobs() { global $wgJobRunRate; - if ( $wgJobRunRate <= 0 ) { + if ( $wgJobRunRate <= 0 || wfReadOnly() ) { return; } if ( $wgJobRunRate < 1 ) {