/** * Clear cache for Smarty * * @param objet $smarty */ public static function clearCache($smarty) { if (!Configuration::get('PS_FORCE_SMARTY_2')) { $smarty->clearAllCache(); } else { $smarty->clear_all_cache(); } }
/** * Clear cache for Smarty * * @param objet $smarty */ public static function clearCache($smarty) { if (!_PS_FORCE_SMARTY_2_) { $smarty->clearAllCache(); } else { $smarty->clear_all_cache(); } }