Unverified Commit f37649f5 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(setup) Fix crashes and problems in web setup

issue #6122
Showing with 5 additions and 3 deletions
+5 -3
......@@ -93,7 +93,7 @@ class setupStep extends simplePlugin
}
/* Return attributes handled by this setup step */
function get_attributes()
public function get_attributes ()
{
$tmp = array();
foreach (array_keys($this->attributesAccess) as $attr) {
......
......@@ -407,7 +407,7 @@ class setupStepMigrate extends setupStep
$mods['ou'] = $val;
}
/*Append description, it is required by gosaDepartment too */
/* Append description, it is required by gosaDepartment too */
if (!isset($attrs['description'])) {
$val = "GOsa";
if (isset($attrs[$dep_infos['mainAttr']][0])) {
......@@ -420,7 +420,7 @@ class setupStepMigrate extends setupStep
$this->rootOC_details['target'] = $str;
$this->rootOC_details['mods'] = $mods;
/* Add button that allows to open the migration details */
/* Add button that allows to open the migration details */
throw new CheckFailedException(
_('Failed'),
' '.$checkobj->submit()
......@@ -433,6 +433,8 @@ class setupStepMigrate extends setupStep
function check_baseOC_migrate (&$checkobj)
{
/* Refresh $this->rootOC_details */
$checkobj->run();
$this->openDialog(new StepMigrateDialog($checkobj, 'setup_migrate_baseOC.tpl', $this->rootOC_details));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment