aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cron/tasks/core
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2010-04-19 07:38:10 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-02-12 22:05:50 -0500
commitce5204dcfdc4d0f6a688acf6a015a14da4b4383c (patch)
tree427990d5545d9e601a9b5f87ec938954ed83d74f /phpBB/includes/cron/tasks/core
parentc25736ca256d127dd824aadb0075a3f8acca39c4 (diff)
downloadforums-ce5204dcfdc4d0f6a688acf6a015a14da4b4383c.tar
forums-ce5204dcfdc4d0f6a688acf6a015a14da4b4383c.tar.gz
forums-ce5204dcfdc4d0f6a688acf6a015a14da4b4383c.tar.bz2
forums-ce5204dcfdc4d0f6a688acf6a015a14da4b4383c.tar.xz
forums-ce5204dcfdc4d0f6a688acf6a015a14da4b4383c.zip
[feature/system-cron] Comment about shutdown function safety in queue cron task.
PHPBB3-9596
Diffstat (limited to 'phpBB/includes/cron/tasks/core')
-rw-r--r--phpBB/includes/cron/tasks/core/queue.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/cron/tasks/core/queue.php b/phpBB/includes/cron/tasks/core/queue.php
index 5b6b69c269..dffaf5aed4 100644
--- a/phpBB/includes/cron/tasks/core/queue.php
+++ b/phpBB/includes/cron/tasks/core/queue.php
@@ -67,6 +67,7 @@ class cron_task_core_queue extends cron_task_base
public function is_shutdown_function_safe()
{
global $config;
+ // A user reported using the mail() function while using shutdown does not work. We do not want to risk that.
return !$config['smtp_delivery'];
}
}