From 0d684e14cdd31c3792af77eeeb7fcc9846d18701 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 31 Jul 2011 21:40:04 +0000 Subject: [PATCH] Added points_data cache to some filters --- inc/filter/cache_filter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/filter/cache_filter.php b/inc/filter/cache_filter.php index be8b48cdd2..b1887a91f1 100644 --- a/inc/filter/cache_filter.php +++ b/inc/filter/cache_filter.php @@ -49,7 +49,7 @@ function FILTER_CACHE_DESTROY_ON_EXT_CHANGE ($filterData) { } // END - if // Remove cache - foreach (array('config', 'extension', 'filter', 'modules', 'earning') as $cache) { + foreach (array('config', 'extension', 'filter', 'modules', 'earning', 'points_data') as $cache) { if ($GLOBALS['cache_instance']->loadCacheFile($cache)) { $GLOBALS['cache_instance']->removeCacheFile(); } // END - if @@ -87,7 +87,7 @@ function FILTER_CACHE_DESTROY_ALL ($filterData) { } // END - if // Remove cache files - foreach (array('admin', 'admin_acls', 'config', 'extension', 'earning', 'modules', 'refdepths', 'refsystem', 'themes', 'filter', 'imprint') as $cache) { + foreach (array('admin', 'admin_acls', 'config', 'extension', 'earning', 'filter', 'imprint', 'modules', 'points_data', 'refdepths', 'refsystem', 'themes') as $cache) { // Is the cache file readable? // @TODO This should be rewritten not to load the cache file for just checking if it is there for save removal. if ($GLOBALS['cache_instance']->loadCacheFile($cache)) { -- 2.39.2