X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FLock.php;h=ef62bc8f76e20770a9f7287226424ae7a8379063;hb=cbe435bb708ccf17a4b5bea1e20c3258c9524700;hp=06313fdd2d8ea365b5b7390bdd2a8c759a8a9221;hpb=86bf2ee45a7c7409dbc470b5b1706b19e7e40507;p=friendica.git diff --git a/src/Core/Lock.php b/src/Core/Lock.php index 06313fdd2d..ef62bc8f76 100644 --- a/src/Core/Lock.php +++ b/src/Core/Lock.php @@ -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); }