// Clear smarty cache on entities updates
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15730 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1545,9 +1545,11 @@ abstract class ModuleCore
|
||||
return $context->smarty->isCached($this->_getApplicableTemplateDir($template).$template, $cacheId, $compileId);
|
||||
}
|
||||
|
||||
protected function _clearCache($template, $cacheId = null, $compileId = null)
|
||||
protected function _clearCache($template, $cache_id = null, $compile_id = null)
|
||||
{
|
||||
Tools::clearCache(Context::getContext()->smarty);
|
||||
Tools::enableCache();
|
||||
Tools::clearCache(Context::getContext()->smarty, $template, $cache_id, $compile_id);
|
||||
Tools::restoreCacheSettings();
|
||||
}
|
||||
|
||||
protected function _generateConfigXml()
|
||||
|
||||
Reference in New Issue
Block a user