projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9a0bf59
)
Fix for possible non-working cache update
author
Roland Häder
<roland@mxchange.org>
Wed, 7 Oct 2009 23:25:55 +0000
(23:25 +0000)
committer
Roland Häder
<roland@mxchange.org>
Wed, 7 Oct 2009 23:25:55 +0000
(23:25 +0000)
inc/loader/load_cache-filter.php
patch
|
blob
|
history
diff --git
a/inc/loader/load_cache-filter.php
b/inc/loader/load_cache-filter.php
index
de3c932
..
25b9083
100644
(file)
--- a/
inc/loader/load_cache-filter.php
+++ b/
inc/loader/load_cache-filter.php
@@
-43,7
+43,7
@@
if (!defined('__SECURITY')) {
}
// Skip this cache if we count usage
}
// Skip this cache if we count usage
-if (
getConfig('update_filter_usage') == 'Y'
) return;
+if (
(getConfig('update_filter_usage') == 'Y') || (EXT_VERSION_IS_OLDER('cache', '0.2.3'))
) return;
// Next cached table is the filteruration (filter)...
if (($GLOBALS['cache_instance']->loadCacheFile('filter', true)) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) {
// Next cached table is the filteruration (filter)...
if (($GLOBALS['cache_instance']->loadCacheFile('filter', true)) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) {