X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fobjectcache%2FMemcachedBagOStuff.php;h=e4bbb430fbb97bcb47fcb133ef4b964cbe2946bd;hb=59002d8935e48d1e6c0640b0f7102c9ff6dd2ef5;hp=f1644edbf7c75f71c33ad97e116b3b339fa41e93;hpb=760b1e8c3baa03f27900d227faba53842524023f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/objectcache/MemcachedBagOStuff.php b/includes/objectcache/MemcachedBagOStuff.php index f1644edbf7..e4bbb430fb 100644 --- a/includes/objectcache/MemcachedBagOStuff.php +++ b/includes/objectcache/MemcachedBagOStuff.php @@ -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. @@ -179,9 +168,6 @@ class MemcachedBagOStuff extends BagOStuff { * Send a debug message to the log */ protected function debugLog( $text ) { - if ( substr( $text, -1 ) !== "\n" ) { - $text .= "\n"; - } wfDebugLog( 'memcached', $text ); } }