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 "[JobQueue] Make doIsEmpty return bool in all cases."
[lhc/web/wiklou.git]
/
includes
/
job
/
JobQueueDB.php
diff --git
a/includes/job/JobQueueDB.php
b/includes/job/JobQueueDB.php
index
fc2ea7d
..
9b4e500
100644
(file)
--- a/
includes/job/JobQueueDB.php
+++ b/
includes/job/JobQueueDB.php
@@
-54,6
+54,7
@@
class JobQueueDB extends JobQueue {
);
$wgMemc->add( $key, $found ? 'false' : 'true', self::CACHE_TTL );
+ return (bool)$found;
}
/**