diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2010-05-09 14:58:26 -0400 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-02-12 22:05:50 -0500 |
commit | d6fcea23a427322e70170f2a90e8efbea52926f6 (patch) | |
tree | 15aa6d5325fbb0e5e0dc60f6cfdeb855a2a1d442 /phpBB/includes/cron | |
parent | 562bbc885eaa79fb4de05e926d4c657263496c04 (diff) | |
download | forums-d6fcea23a427322e70170f2a90e8efbea52926f6.tar forums-d6fcea23a427322e70170f2a90e8efbea52926f6.tar.gz forums-d6fcea23a427322e70170f2a90e8efbea52926f6.tar.bz2 forums-d6fcea23a427322e70170f2a90e8efbea52926f6.tar.xz forums-d6fcea23a427322e70170f2a90e8efbea52926f6.zip |
[feature/system-cron] Note that releasing a released cron lock is harmless.
PHPBB3-9596
Diffstat (limited to 'phpBB/includes/cron')
-rw-r--r-- | phpBB/includes/cron/cron_lock.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/cron/cron_lock.php b/phpBB/includes/cron/cron_lock.php index 1046d62da4..1af3724709 100644 --- a/phpBB/includes/cron/cron_lock.php +++ b/phpBB/includes/cron/cron_lock.php @@ -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; |