Fix some minor typos related with new Database class. (#2174)
This commit is contained in:
parent
b8fc499360
commit
d892521404
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"));
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue