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
commita868b41b589356e9231df919a1771cc99b20d54b (patch)
treecf7a08a965f0bb9816285dcc830a140b62fc0ab1 /core/usermanager.lua
parent8ffa6ad43baaab15a9bf11d51d229312315ac44e (diff)
parent3b96fac7491ce85877b7ee2038ae90b2d501ca6c (diff)
downloadprosody-a868b41b589356e9231df919a1771cc99b20d54b.tar.gz
prosody-a868b41b589356e9231df919a1771cc99b20d54b.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)