mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add. call_flow_monitor.lua uses Database class. (#2172)
This commit is contained in:
committed by
FusionPBX
parent
9963e94c0f
commit
0c28bdadc3
@@ -38,7 +38,7 @@
|
||||
require "resources.functions.file_exists";
|
||||
require "resources.functions.mkdir";
|
||||
|
||||
require "resources.functions.database_handle";
|
||||
local Database = require "resources.functions.database";
|
||||
|
||||
local log = require "resources.functions.log".call_flow_monitor
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
end
|
||||
|
||||
--connect to the database
|
||||
local dbh = database_handle('system');
|
||||
local dbh = Database.new('system');
|
||||
|
||||
--get the extension list
|
||||
if dbh:connected() then
|
||||
|
||||
Reference in New Issue
Block a user