From 2326d79113edad6f684a71b282a691b4512b9207 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 24 May 2022 16:12:29 -0600 Subject: [PATCH] This function is not being used. --- app/scripts/resources/scripts/call_flow_monitor.lua | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/app/scripts/resources/scripts/call_flow_monitor.lua b/app/scripts/resources/scripts/call_flow_monitor.lua index e57811bbe7..2368adb647 100644 --- a/app/scripts/resources/scripts/call_flow_monitor.lua +++ b/app/scripts/resources/scripts/call_flow_monitor.lua @@ -49,16 +49,6 @@ --define the run file run_file = scripts_dir .. "/run/call_flow_monitor.tmp"; ---define the functions - --shell return results - function shell(c) - local o, h - h = assert(io.popen(c,"r")) - o = h:read("*all") - h:close() - return o - end - --used to stop the lua service local file = assert(io.open(run_file, "w")); file:write("remove this file to stop the script");