Merge branch 'ent-9912-14580-guardia-problema-ejecucion-en-la-tareas-programadas' into 'develop'
Ent 9912 14580 guardia problema ejecucion en la tareas programadas See merge request artica/pandorafms!5296
This commit is contained in:
commit
6982d79bbd
|
@ -2317,7 +2317,13 @@ function db_get_lock(string $lockname, int $expiration_time=86400) :?int
|
|||
}
|
||||
|
||||
if ($lock_status === false) {
|
||||
return null;
|
||||
db_pandora_audit(
|
||||
AUDIT_LOG_SYSTEM,
|
||||
'Issue in Database Lock',
|
||||
'system'
|
||||
);
|
||||
|
||||
return (int) null;
|
||||
}
|
||||
|
||||
return (int) $lock_status;
|
||||
|
|
Loading…
Reference in New Issue