Fix some minor typos related with new Database class. (#2174)

This commit is contained in:
Alexey Melnichuk 2016-11-24 20:04:42 +03:00 committed by FusionPBX
parent b8fc499360
commit d892521404
4 changed files with 5 additions and 6 deletions

View File

@ -165,8 +165,7 @@
end_epoch = os.time();
--connect to the database
require "resources.functions.database_handle";
dbh = database_handle('system');
dbh = Database.new('system');
--get the conference sessions
if (conference_session_uuid) then

View File

@ -28,7 +28,7 @@
--connect to the database
local Database = require "resources.functions.database";
dbh = database_handle('system');
dbh = Database.new('system');
--include json library
local json

View File

@ -40,8 +40,8 @@
runonce = false;
--connect to the database
require "resources.functions.database_handle";
dbh = database_handle('system');
local Database = require "resources.functions.database";
dbh = Database.new('system');
--used to stop the lua service
local file = assert(io.open(run_file, "w"));

View File

@ -38,7 +38,7 @@
--connect to the database
local Database = require "resources.functions.database";
dbh = database_handle('system');
dbh = Database.new('system');
--include json library
local json