[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

View file

@ -67,6 +67,7 @@ class cron_task_core_queue extends cron_task_base
public function is_shutdown_function_safe() public function is_shutdown_function_safe()
{ {
global $config; 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']; return !$config['smtp_delivery'];
} }
} }