mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[feature/system-cron] Changed !! to (bool) as requested.
PHPBB3-9596
This commit is contained in:
parent
bb7496bac2
commit
c25736ca25
2 changed files with 2 additions and 2 deletions
|
@ -63,6 +63,6 @@ class cron_task_core_prune_all_forums extends cron_task_base
|
|||
public function is_runnable()
|
||||
{
|
||||
global $config;
|
||||
return !!$config['use_system_cron'];
|
||||
return (bool) $config['use_system_cron'];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@ class cron_task_core_tidy_warnings extends cron_task_base
|
|||
public function is_runnable()
|
||||
{
|
||||
global $config;
|
||||
return !!$config['warnings_expire_days'];
|
||||
return (bool) $config['warnings_expire_days'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue