1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-26 03:22:37 +02:00

[feature/system-cron] Comment about shutdown function safety in queue cron task.

PHPBB3-9596
This commit is contained in:
Oleg Pudeyev
2010-04-19 07:38:10 -04:00
parent c25736ca25
commit ce5204dcfd

@@ -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'];
}
}