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: update MemcachedPeclBagOStuff for pecl memcached 3.0.0
[lhc/web/wiklou.git]
/
includes
/
libs
/
objectcache
/
MemcachedPhpBagOStuff.php
diff --git
a/includes/libs/objectcache/MemcachedPhpBagOStuff.php
b/includes/libs/objectcache/MemcachedPhpBagOStuff.php
index
e2d9d93
..
3ff390b
100644
(file)
--- a/
includes/libs/objectcache/MemcachedPhpBagOStuff.php
+++ b/
includes/libs/objectcache/MemcachedPhpBagOStuff.php
@@
-62,12
+62,12
@@
class MemcachedPhpBagOStuff extends MemcachedBagOStuff {
public function incr( $key, $value = 1 ) {
$this->validateKeyEncoding( $key );
public function incr( $key, $value = 1 ) {
$this->validateKeyEncoding( $key );
- return $this->client->incr( $key, $value );
+ return $this->client->incr( $key, $value )
?? false
;
}
public function decr( $key, $value = 1 ) {
$this->validateKeyEncoding( $key );
}
public function decr( $key, $value = 1 ) {
$this->validateKeyEncoding( $key );
- return $this->client->decr( $key, $value );
+ return $this->client->decr( $key, $value )
?? false
;
}
}
}
}