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
objectcache: add setMockTime() method to BagOStuff/WANObjectCache
[lhc/web/wiklou.git]
/
includes
/
libs
/
objectcache
/
HashBagOStuff.php
diff --git
a/includes/libs/objectcache/HashBagOStuff.php
b/includes/libs/objectcache/HashBagOStuff.php
index
6d583da
..
c6d357b
100644
(file)
--- a/
includes/libs/objectcache/HashBagOStuff.php
+++ b/
includes/libs/objectcache/HashBagOStuff.php
@@
-52,7
+52,7
@@
class HashBagOStuff extends BagOStuff {
protected function expire( $key ) {
$et = $this->bag[$key][self::KEY_EXP];
- if ( $et == self::TTL_INDEFINITE || $et >
t
ime() ) {
+ if ( $et == self::TTL_INDEFINITE || $et >
$this->getCurrentT
ime() ) {
return false;
}