// don't return errors twice on module installation on installer
This commit is contained in:
@@ -97,6 +97,8 @@ class InstallControllerConsoleProcess extends InstallControllerConsole
|
|||||||
$this->printErrors();
|
$this->printErrors();
|
||||||
if (!$this->processInstallModules())
|
if (!$this->processInstallModules())
|
||||||
$this->printErrors();
|
$this->printErrors();
|
||||||
|
if (!$this->processInstallAddonsModules())
|
||||||
|
$this->printErrors();
|
||||||
if (!$this->processInstallFixtures())
|
if (!$this->processInstallFixtures())
|
||||||
$this->printErrors();
|
$this->printErrors();
|
||||||
if (!$this->processInstallTheme())
|
if (!$this->processInstallTheme())
|
||||||
@@ -265,5 +267,13 @@ class InstallControllerConsoleProcess extends InstallControllerConsole
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* PROCESS : installModulesAddons
|
||||||
|
* Install modules from addons
|
||||||
|
*/
|
||||||
|
public function processInstallAddonsModules()
|
||||||
|
{
|
||||||
|
return $this->model_install->installModulesAddons();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -621,8 +621,7 @@ class InstallModelInstall extends InstallAbstractModel
|
|||||||
}
|
}
|
||||||
$errors = array();
|
$errors = array();
|
||||||
foreach ($modules as $module_name)
|
foreach ($modules as $module_name)
|
||||||
if (!$this->installModules($module_name))
|
$this->installModules($module_name);
|
||||||
$errors[] = $this->language->l('Cannot install module "%s"', $module_name);
|
|
||||||
|
|
||||||
if ($errors)
|
if ($errors)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user