[-] Classes : all classes and controllers now use their name in static calls instead of self (improve override) #PSFV-376

This commit is contained in:
rMalie committed 2012-01-19 10:14:10 +00:00
1 parent 60d466b2f7
commit eee9b353c1
82 files changed
+432 -431

No files matched your search

@@ -359,7 +359,7 @@ class AdminEmployeesControllerCore extends AdminController
return false;
}
$assos = self::getAssoShop($this->table);
$assos = AdminEmployeesController::getAssoShop($this->table);
if (count($assos[0]) == 0 && $this->table = 'employee')
if (Shop::isFeatureActive() && _PS_ADMIN_PROFILE_ != $_POST['id_profile'])