// Fix shop association on new object + some strict standard for Franck

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7584 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-07-11 13:18:17 +00:00
parent 4f3aad65e3
commit 2ee764963b
5 changed files with 23 additions and 22 deletions
+2 -2
View File
@@ -53,13 +53,13 @@ class VatNumber extends Module
return (parent::uninstall() AND Configuration::updateValue('VATNUMBER_MANAGEMENT', 0));
}
public function enable()
public function enable($forceAll = false)
{
parent::enable();
Configuration::updateValue('VATNUMBER_MANAGEMENT', 1);
}
public function disable()
public function disable($forceAll = false)
{
parent::disable();
Configuration::updateValue('VATNUMBER_MANAGEMENT', 0);