mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:50:11 +00:00
Replace Lock::release() with DI::lock()->release() and remove Core\Lock
This commit is contained in:
parent
634e657d23
commit
31457b8566
14 changed files with 33 additions and 74 deletions
|
@ -55,7 +55,7 @@ class SemaphoreLock extends Lock
|
|||
* @param bool $override not necessary parameter for semaphore locks since the lock lives as long as the execution
|
||||
* of the using function
|
||||
*/
|
||||
public function releaseLock($key, $override = false)
|
||||
public function release($key, $override = false)
|
||||
{
|
||||
$success = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue