dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "ServiceWiring: Use RequestContext instead of $wgUser global"
[lhc/web/wiklou.git]
/
maintenance
/
runJobs.php
diff --git
a/maintenance/runJobs.php
b/maintenance/runJobs.php
index
9f5f1af
..
802a114
100644
(file)
--- a/
maintenance/runJobs.php
+++ b/
maintenance/runJobs.php
@@
-100,7
+100,7
@@
class RunJobs extends Maintenance {
$response['reached'] === 'memory-limit'
) {
// If job queue is empty, output it
- if ( $response['jobs'] === [] ) {
+ if (
!$outputJSON &&
$response['jobs'] === [] ) {
$this->output( "Job queue is empty.\n" );
}
break;