]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Lock/CacheLockDriver.php
Fixings
[friendica.git] / src / Core / Lock / CacheLockDriver.php
index 57627acecf22a4206866b1868b3d9194857c0fa4..2dd6f3fad9defd290ca4c1fc7c90215d7607ee04 100644 (file)
@@ -24,7 +24,7 @@ class CacheLockDriver extends AbstractLockDriver
        /**
         * (@inheritdoc)
         */
-       public function acquire($key, $timeout = 120)
+       public function acquireLock($key, $timeout = 120)
        {
                $got_lock = false;
                $start = time();
@@ -60,7 +60,7 @@ class CacheLockDriver extends AbstractLockDriver
        /**
         * (@inheritdoc)
         */
-       public function release($key)
+       public function releaseLock($key)
        {
                $cachekey = self::getCacheKey($key);