[-] CORE : Partial fix for #PSCFV-10482 getCacheId is different in back office

This commit is contained in:
gRoussac
2013-09-23 18:07:46 +02:00
parent b4547568a5
commit ccb3179c1a

View File

@@ -1730,7 +1730,7 @@ abstract class ModuleCore
{
Tools::enableCache();
if ($cache_id === null)
$cache_id = Module::getCacheId($this->name);
$cache_id = $this->name;
Tools::clearCache(Context::getContext()->smarty, $this->getTemplatePath($template), $cache_id, $compile_id);
Tools::restoreCacheSettings();
}