Merge branch 'release' of https://github.com/PrestaShop/PrestaShop into release

This commit is contained in:
Rémi Gaillard
2012-12-18 16:00:12 +01:00
+1 -1
View File
@@ -1636,7 +1636,7 @@ abstract class ModuleCore
protected function _clearCache($template, $cache_id = null, $compile_id = null)
{
Tools::enableCache();
Tools::clearCache(Context::getContext()->smarty, $template, $cache_id, $compile_id);
Tools::clearCache(Context::getContext()->smarty, $this->getTemplatePath($template), $cache_id, $compile_id);
Tools::restoreCacheSettings();
}