1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/10875] method_exists check is not required, interface declares them

The changes to the cache drivers added an interface, which requires many
cache functions exist. For these, we can remove the method_exists() check

PHPBB3-10875
This commit is contained in:
Nathan Guse
2012-07-30 15:57:51 -05:00
parent 828eaecf6a
commit edcac438df
10 changed files with 19 additions and 20 deletions

View File

@@ -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;
}
/**