[-] CORE : fixed bug #PSCFV-5252 - Module::addOverride() erase existing override method already existe

This commit is contained in:
vAugagneur
2012-10-26 12:51:23 +00:00
parent 0b4382dd4b
commit 2f8067d42b

View File

@@ -219,7 +219,7 @@ abstract class ModuleCore
$this->installOverrides();
} catch (Exception $e) {
$this->_errors[] = sprintf(Tools::displayError('Unable to install override: %s'), $e->getMessage());
$this->uninstallOverrides();
//$this->uninstallOverrides(); remove this line because if module a install an override, then module b install same override, this line will remove override of module a (if you find a bug related to this line please don't forget what i say before)
return false;
}