mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 17:14:26 +02:00
Removed some leftovers
This commit is contained in:
parent
7cdcad9f6c
commit
d2211bd6dd
4 changed files with 7 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue