diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-07-30 15:24:31 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-07-30 15:31:27 -0500 |
commit | 828eaecf6ab4f6c013a7955bf6af2a81c049e42f (patch) | |
tree | 0006d5c0fcb023caa629c1b4e8b338dddb06864b /phpBB/includes/cron/task/core | |
parent | 7fd1a166da4c040532bb8ff35584b330348366d2 (diff) | |
download | forums-828eaecf6ab4f6c013a7955bf6af2a81c049e42f.tar forums-828eaecf6ab4f6c013a7955bf6af2a81c049e42f.tar.gz forums-828eaecf6ab4f6c013a7955bf6af2a81c049e42f.tar.bz2 forums-828eaecf6ab4f6c013a7955bf6af2a81c049e42f.tar.xz forums-828eaecf6ab4f6c013a7955bf6af2a81c049e42f.zip |
[ticket/10875] Changes to Cache Driver caused method_exists checks to fail
SQL Cache and other functions using the check
method_exists($cache,
failed because of the changes to the cache system.
method_exists($cache has been changed to
method_exists($cache->get_driver()
PHPBB3-10875
Diffstat (limited to 'phpBB/includes/cron/task/core')
-rw-r--r-- | phpBB/includes/cron/task/core/tidy_cache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/cron/task/core/tidy_cache.php b/phpBB/includes/cron/task/core/tidy_cache.php index c9dc0bd9ae..991b0725eb 100644 --- a/phpBB/includes/cron/task/core/tidy_cache.php +++ b/phpBB/includes/cron/task/core/tidy_cache.php @@ -44,7 +44,7 @@ class phpbb_cron_task_core_tidy_cache extends phpbb_cron_task_base public function is_runnable() { global $cache; - return method_exists($cache, 'tidy'); + return method_exists($cache->get_driver(), 'tidy'); } /** |