From ce5204dcfdc4d0f6a688acf6a015a14da4b4383c Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev Date: Mon, 19 Apr 2010 07:38:10 -0400 Subject: [PATCH] [feature/system-cron] Comment about shutdown function safety in queue cron task. PHPBB3-9596 --- phpBB/includes/cron/tasks/core/queue.php | 1 + 1 file changed, 1 insertion(+) 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']; } }