// don't return errors twice on module installation on installer

This commit is contained in:
Rémi Gaillard
2013-03-29 17:05:13 +01:00
parent e3ba526625
commit 9680d4987b
2 changed files with 11 additions and 2 deletions
+1 -2
View File
@@ -621,8 +621,7 @@ class InstallModelInstall extends InstallAbstractModel
}
$errors = array();
foreach ($modules as $module_name)
if (!$this->installModules($module_name))
$errors[] = $this->language->l('Cannot install module "%s"', $module_name);
$this->installModules($module_name);
if ($errors)
{