aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cron
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2010-05-09 14:58:26 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-02-12 22:05:50 -0500
commitd6fcea23a427322e70170f2a90e8efbea52926f6 (patch)
tree15aa6d5325fbb0e5e0dc60f6cfdeb855a2a1d442 /phpBB/includes/cron
parent562bbc885eaa79fb4de05e926d4c657263496c04 (diff)
downloadforums-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.php5
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;