Fix. Remove unused code from mwi_subscribe.lua (#2527)

This commit is contained in:
Alexey Melnichuk 2017-04-21 14:59:38 +03:00 committed by FusionPBX
parent 8fcaab4f90
commit d6efebf13f
1 changed files with 0 additions and 3 deletions

View File

@ -47,9 +47,6 @@ function vm_message_count(account, use_cache)
if use_cache and cache.support() then
local uuid = cache.get('voicemail_uuid:' .. account)
if not uuid then
local sql = string.format(vm_to_uuid_sql,
dbh:escape(id), dbh:escape(domain_name)
)
uuid = dbh:first_value(vm_to_uuid_sql, {
voicemail_id = id, domain_name = domain_name
})