Add a missing semi-colon and remove trailing spaces.
This commit is contained in:
@@ -373,7 +373,7 @@ freeswitch.consoleLog("notice", "[voicemail] ".. storage_type .. "\n");
|
|||||||
end
|
end
|
||||||
if (storage_type == "base64") then
|
if (storage_type == "base64") then
|
||||||
array = explode("://", database["system"]);
|
array = explode("://", database["system"]);
|
||||||
local luasql = require "luasql.postgres"
|
local luasql = require "luasql.postgres";
|
||||||
local env = assert (luasql.postgres());
|
local env = assert (luasql.postgres());
|
||||||
local db = env:connect(array[2]);
|
local db = env:connect(array[2]);
|
||||||
res, serr = db:execute(sql);
|
res, serr = db:execute(sql);
|
||||||
@@ -442,7 +442,7 @@ freeswitch.consoleLog("notice", "[voicemail] ".. storage_type .. "\n");
|
|||||||
--remove initial recording file
|
--remove initial recording file
|
||||||
if (file_exists(voicemail_dir.."/"..voicemail_id.."/msg_"..uuid.."."..vm_message_ext)) then
|
if (file_exists(voicemail_dir.."/"..voicemail_id.."/msg_"..uuid.."."..vm_message_ext)) then
|
||||||
os.remove(voicemail_dir.."/"..voicemail_id.."/msg_"..uuid.."."..vm_message_ext);
|
os.remove(voicemail_dir.."/"..voicemail_id.."/msg_"..uuid.."."..vm_message_ext);
|
||||||
end
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
--voicemail not enabled or does not exist
|
--voicemail not enabled or does not exist
|
||||||
|
|||||||
Reference in New Issue
Block a user