Correct the indentation of some of the lines in user_status lua script.
This commit is contained in:
@@ -115,13 +115,13 @@
|
|||||||
end
|
end
|
||||||
|
|
||||||
--use the voicemail_id to get the list of users assigned to an extension
|
--use the voicemail_id to get the list of users assigned to an extension
|
||||||
sql = "SELECT extension_uuid FROM v_extensions ";
|
sql = "SELECT extension_uuid FROM v_extensions ";
|
||||||
sql = sql .. "WHERE domain_uuid = '" .. domain_uuid .."' ";
|
sql = sql .. "WHERE domain_uuid = '" .. domain_uuid .."' ";
|
||||||
sql = sql .. "AND (extension = '" .. user_id .."' ";
|
sql = sql .. "AND (extension = '" .. user_id .."' ";
|
||||||
sql = sql .. "or number_alias = '" .. user_id .."') ";
|
sql = sql .. "or number_alias = '" .. user_id .."') ";
|
||||||
dbh:query(sql, function(row)
|
dbh:query(sql, function(row)
|
||||||
extension_uuid = row.extension_uuid;
|
extension_uuid = row.extension_uuid;
|
||||||
end);
|
end);
|
||||||
|
|
||||||
--set the status
|
--set the status
|
||||||
if (action == "login") then
|
if (action == "login") then
|
||||||
|
|||||||
Reference in New Issue
Block a user