]> git.mxchange.org Git - mailer.git/commitdiff
Fix for possible non-working cache update
authorRoland Häder <roland@mxchange.org>
Wed, 7 Oct 2009 23:25:55 +0000 (23:25 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 7 Oct 2009 23:25:55 +0000 (23:25 +0000)
inc/loader/load_cache-filter.php

index de3c9322a505c270626e9c94eeec1f815912c665..25b9083fdbc7479e4f87feb1dfc2a94c88f923d1 100644 (file)
@@ -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'))) {