mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[feature/system-cron] Comment about shutdown function safety in queue cron task.
PHPBB3-9596
This commit is contained in:
parent
c25736ca25
commit
ce5204dcfd
1 changed files with 1 additions and 0 deletions
|
@ -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'];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue