Fix for possible non-working cache update
[mailer.git] / 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
-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'))) {