Minor adjustments.

This commit is contained in:
markjcrane
2015-12-20 22:46:52 -07:00
parent 93dd62c363
commit 4b7e7fce06
5 changed files with 52 additions and 23 deletions

View File

@@ -371,19 +371,6 @@ if ($domains_processed == 1) {
unset($prep_statement, $row);
}
//set the sip_profiles directory for older installs
if (isset($_SESSION['switch']['gateways']['dir'])) {
$orm = new orm;
$orm->name('default_settings');
$orm->uuid($_SESSION['switch']['gateways']['uuid']);
$array['default_setting_category'] = 'switch';
$array['default_setting_subcategory'] = 'sip_profiles';
$array['default_setting_name'] = 'dir';
//$array['default_setting_value'] = '';
//$array['default_setting_enabled'] = 'true';
$orm->save($array);
unset($array);
}
}
?>