projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4c054f4
)
Added points_data cache to some filters
author
Roland Häder
<roland@mxchange.org>
Sun, 31 Jul 2011 21:40:04 +0000
(21:40 +0000)
committer
Roland Häder
<roland@mxchange.org>
Sun, 31 Jul 2011 21:40:04 +0000
(21:40 +0000)
inc/filter/cache_filter.php
patch
|
blob
|
history
diff --git
a/inc/filter/cache_filter.php
b/inc/filter/cache_filter.php
index be8b48cdd291e79ea5d6430dde877fb9032f6c8c..b1887a91f19e4d16525616abc14a3c0e15f28ec4 100644
(file)
--- 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
} // 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
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
} // 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)) {
// 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)) {