aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cron/cron_lock.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/cron/cron_lock.php')
-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;