Update app_defaults.php

This commit is contained in:
FusionPBX 2016-10-22 22:44:01 -06:00 committed by GitHub
parent 7facf8e50f
commit 6a5d99bb8d
1 changed files with 2 additions and 16 deletions

View File

@ -25,20 +25,6 @@
*/
//process this only one time
if ($domains_processed == 1) {
//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);
}
}
//if ($domains_processed == 1) { }
?>
?>