Fix. Remove unused code from mwi_subscribe.lua (#2527)
This commit is contained in:
committed by
FusionPBX
parent
13cf50db7f
commit
2f3c3c87c6
@@ -47,9 +47,6 @@ function vm_message_count(account, use_cache)
|
|||||||
if use_cache and cache.support() then
|
if use_cache and cache.support() then
|
||||||
local uuid = cache.get('voicemail_uuid:' .. account)
|
local uuid = cache.get('voicemail_uuid:' .. account)
|
||||||
if not uuid then
|
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, {
|
uuid = dbh:first_value(vm_to_uuid_sql, {
|
||||||
voicemail_id = id, domain_name = domain_name
|
voicemail_id = id, domain_name = domain_name
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user