mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 16:27:38 +02:00
[feature/system-cron] Changed !! to (bool) as requested.
PHPBB3-9596
This commit is contained in:
@@ -63,6 +63,6 @@ class cron_task_core_prune_all_forums extends cron_task_base
|
|||||||
public function is_runnable()
|
public function is_runnable()
|
||||||
{
|
{
|
||||||
global $config;
|
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()
|
public function is_runnable()
|
||||||
{
|
{
|
||||||
global $config;
|
global $config;
|
||||||
return !!$config['warnings_expire_days'];
|
return (bool) $config['warnings_expire_days'];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user