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:
8ed08f1
)
Fixed job miscounting bug when a string digit is returned
author
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 19 May 2014 17:12:14 +0000
(10:12 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 19 May 2014 17:12:14 +0000
(10:12 -0700)
Change-Id: I857b56a6e78f715157c7f648929d6bf38eb74828
includes/jobqueue/JobQueueFederated.php
patch
|
blob
|
history
diff --git
a/includes/jobqueue/JobQueueFederated.php
b/includes/jobqueue/JobQueueFederated.php
index
58d5c67
..
d6f9560
100644
(file)
--- a/
includes/jobqueue/JobQueueFederated.php
+++ b/
includes/jobqueue/JobQueueFederated.php
@@
-195,7
+195,7
@@
class JobQueueFederated extends JobQueue {
$key = $this->getCacheKey( $type );
$count = $this->cache->get( $key );
- if (
is_int( $count )
) {
+ if (
$count !== false
) {
return $count;
}