Merge "objectcache: Remove lock()/unlock() stubs from MemcachedClient"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 21 Aug 2019 18:58:58 +0000 (18:58 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 21 Aug 2019 18:58:58 +0000 (18:58 +0000)
includes/libs/objectcache/MemcachedClient.php

index eecf7ec..2c40854 100644 (file)
@@ -417,25 +417,6 @@ class MemcachedClient {
                return false;
        }
 
-       /**
-        * @param string $key
-        * @param int $timeout
-        * @return bool
-        */
-       public function lock( $key, $timeout = 0 ) {
-               /* stub */
-               return true;
-       }
-
-       /**
-        * @param string $key
-        * @return bool
-        */
-       public function unlock( $key ) {
-               /* stub */
-               return true;
-       }
-
        // }}}
        // {{{ disconnect_all()