aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cron/task
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/cron/task')
-rw-r--r--phpBB/includes/cron/task/core/tidy_cache.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/cron/task/core/tidy_cache.php b/phpBB/includes/cron/task/core/tidy_cache.php
index 991b0725eb..f6cf77d01d 100644
--- a/phpBB/includes/cron/task/core/tidy_cache.php
+++ b/phpBB/includes/cron/task/core/tidy_cache.php
@@ -43,8 +43,7 @@ class phpbb_cron_task_core_tidy_cache extends phpbb_cron_task_base
*/
public function is_runnable()
{
- global $cache;
- return method_exists($cache->get_driver(), 'tidy');
+ return true;
}
/**