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
SiteStats::jobs fix when there is a single job
[lhc/web/wiklou.git]
/
includes
/
SiteStats.php
diff --git
a/includes/SiteStats.php
b/includes/SiteStats.php
index
6ce1aed
..
86a4f63
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;
}