mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-27 03:50:22 +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()
|
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'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user