Fix. Remove unused code from mwi_subscribe.lua (#2527)
This commit is contained in:
parent
8fcaab4f90
commit
d6efebf13f
|
|
@ -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
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue