diff --git a/install-dev/controllers/console/process.php b/install-dev/controllers/console/process.php index 553868359..938353f5c 100644 --- a/install-dev/controllers/console/process.php +++ b/install-dev/controllers/console/process.php @@ -97,6 +97,8 @@ class InstallControllerConsoleProcess extends InstallControllerConsole $this->printErrors(); if (!$this->processInstallModules()) $this->printErrors(); + if (!$this->processInstallAddonsModules()) + $this->printErrors(); if (!$this->processInstallFixtures()) $this->printErrors(); if (!$this->processInstallTheme()) @@ -265,5 +267,13 @@ class InstallControllerConsoleProcess extends InstallControllerConsole return true; } + /** + * PROCESS : installModulesAddons + * Install modules from addons + */ + public function processInstallAddonsModules() + { + return $this->model_install->installModulesAddons(); + } } diff --git a/install-dev/models/install.php b/install-dev/models/install.php index 4b5ad2211..f450ddc40 100644 --- a/install-dev/models/install.php +++ b/install-dev/models/install.php @@ -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) {