Hide semaphone warning
https://github.com/friendica/friendica/issues/3553
This commit is contained in:
parent
f846233a6b
commit
4eaa6b94a6
|
@ -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