Correct the indentation of some of the lines in user_status lua script.

This commit is contained in:
Mark Crane
2014-04-03 15:50:50 +00:00
parent 776e93e5e3
commit 0712d91564
@@ -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