Skip to content
Snippets Groups Projects
Commit bb7e85d9 authored by Jared Hancock's avatar Jared Hancock
Browse files

Merge remote branch 'upstream-1.7/develop' into develop

Conflicts:
	setup/inc/class.installer.php
parents d5ade79d d751f452
No related branches found
No related tags found
No related merge requests found
......@@ -205,7 +205,7 @@ class Installer extends SetupWizard {
'default_dept_id'=>$dept_id_1, 'default_sla_id'=>$sla_id_1,
'default_template_id'=>$template_id_1,
'admin_email'=>$vars['admin_email'],
'schema_signature'=>$signature,
'schema_signature'=>$streams['core'],
'helpdesk_url'=>URL,
'helpdesk_title'=>$vars['name']);
$config = new Config('core');
......@@ -217,6 +217,14 @@ class Installer extends SetupWizard {
$company = new Company();
$company->getForm()->setAnswer('name', $vars['name']);
$company->getForm()->save();
foreach ($streams as $stream=>$signature) {
if ($stream != 'core') {
$config = new Config($stream);
if (!$config->update('schema_signature', $signature))
$this->errors['err']='Unable to create config settings (#8)';
}
}
}
if($this->errors) return false; //Abort on internal errors.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment