# HG changeset patch
# User Matthew Wild <mwild1@gmail.com>
# Date 1294161111 0
# Node ID cfdcad1782aa5075689237176f9b1f343b05e5d8
# Parent  ac8adebd5e389b341f6daa77e63a7302f9345742
usermanager: Add delete_user method

diff -r ac8adebd5e38 -r cfdcad1782aa 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