diff options
Diffstat (limited to 'includes/objectcache/MemcachedPhpBagOStuff.php')
-rw-r--r-- | includes/objectcache/MemcachedPhpBagOStuff.php | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/includes/objectcache/MemcachedPhpBagOStuff.php b/includes/objectcache/MemcachedPhpBagOStuff.php index 330d2b52..6fba61ba 100644 --- a/includes/objectcache/MemcachedPhpBagOStuff.php +++ b/includes/objectcache/MemcachedPhpBagOStuff.php @@ -42,6 +42,7 @@ class MemcachedPhpBagOStuff extends MemcachedBagOStuff { * @param array $params */ function __construct( $params ) { + parent::__construct( $params ); $params = $this->applyDefaultParams( $params ); $this->client = new MemCachedClientforWiki( $params ); @@ -67,23 +68,6 @@ class MemcachedPhpBagOStuff extends MemcachedBagOStuff { /** * @param string $key - * @param int $timeout - * @return bool - */ - public function lock( $key, $timeout = 0 ) { - return $this->client->lock( $this->encodeKey( $key ), $timeout ); - } - - /** - * @param string $key - * @return mixed - */ - public function unlock( $key ) { - return $this->client->unlock( $this->encodeKey( $key ) ); - } - - /** - * @param string $key * @param int $value * @return mixed */ |