dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f34b83e
)
Removed redundant wfReadOnly check in runJobs.php
author
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 21 Apr 2015 23:20:31 +0000
(16:20 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 21 Apr 2015 23:22:36 +0000
(23:22 +0000)
* JobRunner handles this and doing it pre-fork is less safe
Change-Id: I9e53e6b2d04f3f370723af8140e796ba337cfd3b
maintenance/runJobs.php
patch
|
blob
|
history
diff --git
a/maintenance/runJobs.php
b/maintenance/runJobs.php
index
3864e3c
..
c8445da
100644
(file)
--- 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 ) {