dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
8813f0f
)
Merge "SiteStats::jobs fix when there is a single job"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Mon, 24 Jul 2017 20:40:53 +0000
(20:40 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Mon, 24 Jul 2017 20:40:53 +0000
(20:40 +0000)
includes/SiteStats.php
patch
|
blob
|
history
diff --git
a/includes/SiteStats.php
b/includes/SiteStats.php
index
5a0947d
..
df3e305
100644
(file)
--- a/
includes/SiteStats.php
+++ b/
includes/SiteStats.php
@@
-222,13
+222,6
@@
class SiteStats {
} catch ( JobQueueError $e ) {
self::$jobs = 0;
}
- /**
- * Zero rows still do single row read for row that doesn't exist,
- * but people are annoyed by that
- */
- if ( self::$jobs == 1 ) {
- self::$jobs = 0;
- }
}
return self::$jobs;
}