From 07f0bf9829e4a920950446e1afd764ca6aa4167d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 27 Aug 2020 09:33:29 -0600 Subject: [PATCH] Remove settings will not work without the domain_uuid. --- .../app/xml_handler/resources/scripts/dialplan/dialplan.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/scripts/resources/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua b/app/scripts/resources/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua index ae40bbf0a8..83ca9e2906 100644 --- a/app/scripts/resources/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua +++ b/app/scripts/resources/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua @@ -32,16 +32,12 @@ local Database = require "resources.functions.database"; dbh = Database.new('system'); ---create a new settings object - local settings = Settings.new(dbh, domain_name, domain_uuid); - --needed for cli-command xml_locate dialplan if (call_context == nil) then call_context = "public"; end --set the defaults - dialplan_method = settings:get('destinations', 'dialplan_method', 'text'); if (dialplan_method == nil or dialplan_method == '') then dialplan_method = "multiple"; end