diff --git a/i18n/i18n.php b/i18n/i18n.php index e0b121eda..d0be15192 100644 --- a/i18n/i18n.php +++ b/i18n/i18n.php @@ -2514,8 +2514,7 @@ class i18n extends Object implements TemplateGlobalProvider { */ public static function include_by_locale($locale, $clean = false) { if($clean) { - $cache = Zend_Translate::getCache(); - if($cache) $cache->clean(Zend_Cache::CLEANING_MODE_ALL); + Zend_Translate::clearCache(); } // Get list of module => path pairs, and then just the names