X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2Fobjectcache%2FReplicatedBagOStuff.php;h=5f2c509ed66ba2d413326e8b665b17d0ba86f329;hb=46272366d14254e0917a9de8688a7627354f4bdb;hp=b98c982e6f6c9993fb9ce1c1f8709623aa3f8245;hpb=4d5cef8d964fc722768dce1d66477aaa1ab3cbc6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/objectcache/ReplicatedBagOStuff.php b/includes/libs/objectcache/ReplicatedBagOStuff.php index b98c982e6f..5f2c509ed6 100644 --- a/includes/libs/objectcache/ReplicatedBagOStuff.php +++ b/includes/libs/objectcache/ReplicatedBagOStuff.php @@ -84,8 +84,8 @@ class ReplicatedBagOStuff extends BagOStuff { : $this->readStore->getMulti( $keys, $flags ); } - public function set( $key, $value, $exptime = 0 ) { - return $this->writeStore->set( $key, $value, $exptime ); + public function set( $key, $value, $exptime = 0, $flags = 0 ) { + return $this->writeStore->set( $key, $value, $exptime, $flags ); } public function delete( $key ) { @@ -112,8 +112,8 @@ class ReplicatedBagOStuff extends BagOStuff { return $this->writeStore->unlock( $key ); } - public function merge( $key, $callback, $exptime = 0, $attempts = 10 ) { - return $this->writeStore->merge( $key, $callback, $exptime, $attempts ); + public function merge( $key, callable $callback, $exptime = 0, $attempts = 10, $flags = 0 ) { + return $this->writeStore->merge( $key, $callback, $exptime, $attempts, $flags ); } public function getLastError() {