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

This commit is contained in:
Alexey Melnichuk
2016-11-24 10:04:42 -07:00
committed by FusionPBX
parent 7b71ddcab1
commit b16dbcc125
4 changed files with 5 additions and 6 deletions
@@ -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"));