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
Cache: Make APCUBagOStuff::set return a useful value
[lhc/web/wiklou.git]
/
includes
/
libs
/
objectcache
/
APCUBagOStuff.php
diff --git
a/includes/libs/objectcache/APCUBagOStuff.php
b/includes/libs/objectcache/APCUBagOStuff.php
index
0483ee7
..
ed4eb35
100644
(file)
--- a/
includes/libs/objectcache/APCUBagOStuff.php
+++ b/
includes/libs/objectcache/APCUBagOStuff.php
@@
-54,13
+54,11
@@
class APCUBagOStuff extends BagOStuff {
}
public function set( $key, $value, $exptime = 0, $flags = 0 ) {
- apcu_store(
+
return
apcu_store(
$key . self::KEY_SUFFIX,
$this->serialize( $value ),
$exptime
);
-
- return true;
}
public function add( $key, $value, $exptime = 0, $flags = 0 ) {