mirror of
https://github.com/friendica/friendica
synced 2024-12-23 20:00:16 +00:00
Hide semaphone warning
https://github.com/friendica/friendica/issues/3553
This commit is contained in:
parent
f846233a6b
commit
4eaa6b94a6
1 changed files with 1 additions and 2 deletions
|
@ -157,8 +157,7 @@ class Lock {
|
||||||
*/
|
*/
|
||||||
public static function remove($fn_name) {
|
public static function remove($fn_name) {
|
||||||
if (function_exists('sem_get') && self::$semaphore[$fn_name]) {
|
if (function_exists('sem_get') && self::$semaphore[$fn_name]) {
|
||||||
sem_release(self::$semaphore[$fn_name]);
|
return @sem_release(self::$semaphore[$fn_name]);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$memcache = self::connectMemcache();
|
$memcache = self::connectMemcache();
|
||||||
|
|
Loading…
Reference in a new issue