X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fobjectcache%2FMemcachedBagOStuff.php;h=87acb532ec61cfc01ac2308a71622b3ce480220b;hb=f1b45cbed4d7fed42fc8bff4af4b1ff986f01b6f;hp=3f1fa3a0525123ec5a10ec999061b533d42ddb0b;hpb=0bb11a1b5833ca381d999fe3411281f10dca088c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/objectcache/MemcachedBagOStuff.php b/includes/objectcache/MemcachedBagOStuff.php index 3f1fa3a052..87acb532ec 100644 --- a/includes/objectcache/MemcachedBagOStuff.php +++ b/includes/objectcache/MemcachedBagOStuff.php @@ -43,7 +43,7 @@ class MemcachedBagOStuff extends BagOStuff { if ( !isset( $params['persistent'] ) ) { $params['persistent'] = $GLOBALS['wgMemCachedPersistent']; } - if ( !isset( $params['compress_threshold'] ) ) { + if ( !isset( $params['compress_threshold'] ) ) { $params['compress_threshold'] = 1500; } if ( !isset( $params['timeout'] ) ) { @@ -107,17 +107,6 @@ class MemcachedBagOStuff extends BagOStuff { $this->fixExpiry( $exptime ) ); } - /** - * @param $key string - * @param $value int - * @param $exptime - * @return Mixed - */ - public function replace( $key, $value, $exptime = 0 ) { - return $this->client->replace( $this->encodeKey( $key ), $value, - $this->fixExpiry( $exptime ) ); - } - /** * Get the underlying client object. This is provided for debugging * purposes.