# HG changeset patch # User Matthew Wild # Date 1294161111 0 # Node ID b71e5ecc694b516307c292be6b063d6155ed0704 # Parent 73075b004e7772f6fc4eae19686a1fae06186f7e usermanager: Add delete_user method diff -r 73075b004e77 -r b71e5ecc694b core/usermanager.lua --- a/core/usermanager.lua Tue Jan 04 17:11:37 2011 +0000 +++ b/core/usermanager.lua Tue Jan 04 17:11:51 2011 +0000 @@ -83,6 +83,10 @@ return hosts[host].users.create_user(username, password); end +function delete_user(username, host) + return hosts[host].users.delete_user(username); +end + function get_sasl_handler(host) return hosts[host].users.get_sasl_handler(); end