mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[feature/system-cron] Note that releasing a released cron lock is harmless.
PHPBB3-9596
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user