mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/system-cron] Note that releasing a released cron lock is harmless.
PHPBB3-9596
This commit is contained in:
parent
562bbc885e
commit
d6fcea23a4
1 changed files with 5 additions and 0 deletions
|
@ -63,6 +63,11 @@ class cron_lock
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Releases cron lock.
|
||||||
|
*
|
||||||
|
* Attempting to release a cron lock that is already released is harmless.
|
||||||
|
*/
|
||||||
function unlock()
|
function unlock()
|
||||||
{
|
{
|
||||||
global $db;
|
global $db;
|
||||||
|
|
Loading…
Add table
Reference in a new issue