From 13c58841302a140534ac8980322b00929068b3e7 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 8 Feb 2018 09:47:59 -0700 Subject: [PATCH] Update app_defaults.php --- app/voicemails/app_defaults.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/app/voicemails/app_defaults.php b/app/voicemails/app_defaults.php index 98ea39c6ad..81e5e21daf 100644 --- a/app/voicemails/app_defaults.php +++ b/app/voicemails/app_defaults.php @@ -27,20 +27,6 @@ //if the number of rows is 0 then read the sip profile xml into the database if ($domains_processed == 1) { - //default settings - change the type from var to text - $sql = "update v_default_settings "; - $sql .= "set default_setting_name = 'text' "; - $sql .= "where default_setting_name = 'var' "; - $db->exec(check_sql($sql)); - unset($sql); - - //domain settings - change the type from var to text - $sql = "update v_domain_settings "; - $sql .= "set domain_setting_name = 'text' "; - $sql .= "where domain_setting_name = 'var' "; - $db->exec(check_sql($sql)); - unset($sql); - //add the sip profiles to the database $sql = "select count(*) as num_rows from v_email_templates "; $sql .= "where template_category = 'email' ";