// 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
@@ -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();
}
}