]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Lock.php
Merge pull request #7754 from annando/aria
[friendica.git] / src / Core / Lock.php
index 06313fdd2d8ea365b5b7390bdd2a8c759a8a9221..ef62bc8f76e20770a9f7287226424ae7a8379063 100644 (file)
@@ -8,7 +8,7 @@
 namespace Friendica\Core;
 
 use Friendica\BaseObject;
-use Friendica\Core\Cache\ICache;
+use Friendica\Core\Cache\Cache;
 use Friendica\Core\Lock\ILock;
 
 /**
@@ -26,7 +26,7 @@ class Lock extends BaseObject
         * @return boolean Was the lock successful?
         * @throws \Exception
         */
-       public static function acquire($key, $timeout = 120, $ttl = ICache::FIVE_MINUTES)
+       public static function acquire($key, $timeout = 120, $ttl = Cache::FIVE_MINUTES)
        {
                return self::getClass(ILock::class)->acquireLock($key, $timeout, $ttl);
        }