aboutsummaryrefslogtreecommitdiffstats
path: root/core/usermanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-09-19 12:14:08 +0100
committerMatthew Wild <mwild1@gmail.com>2012-09-19 12:14:08 +0100
commitfc11c75968dab816534939aafb2378dcd052c5e5 (patch)
treecf7a08a965f0bb9816285dcc830a140b62fc0ab1 /core/usermanager.lua
parent5f27e2a04037afdb5da8ef53b88ffa7b25014e32 (diff)
parentec41d90e0f1dd90bf7908acbf5ab25301dec9519 (diff)
downloadprosody-fc11c75968dab816534939aafb2378dcd052c5e5.tar.gz
prosody-fc11c75968dab816534939aafb2378dcd052c5e5.zip
Merge 0.9->trunk
Diffstat (limited to 'core/usermanager.lua')
-rw-r--r--core/usermanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua
index 2ca0aef1..0ed61f23 100644
--- a/core/usermanager.lua
+++ b/core/usermanager.lua
@@ -93,7 +93,7 @@ function delete_user(username, host)
local ok, err = hosts[host].users.delete_user(username);
if not ok then return nil, err; end
prosody.events.fire_event("user-deleted", { username = username, host = host });
- return storagemanager.get_driver(host):purge(username);
+ return storagemanager.purge(username, host);
end
function get_sasl_handler(host, session)