[feature/system-cron] Note that releasing a released cron lock is harmless.

PHPBB3-9596
This commit is contained in:
Oleg Pudeyev 2010-05-09 14:58:26 -04:00
parent 562bbc885e
commit d6fcea23a4

View file

@ -63,6 +63,11 @@ class cron_lock
return true;
}
/**
* Releases cron lock.
*
* Attempting to release a cron lock that is already released is harmless.
*/
function unlock()
{
global $db;