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:
@@ -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'];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user