objectcache: Remove lock()/unlock() stubs from MemcachedClient
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 13 Aug 2019 05:47:42 +0000 (22:47 -0700)
committerKrinkle <krinklemail@gmail.com>
Tue, 20 Aug 2019 13:05:49 +0000 (13:05 +0000)
Change-Id: I56628957b16d91cfa9b79b07abdece17fb396577

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()