aboutsummaryrefslogtreecommitdiffstats
path: root/core/usermanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-09-16 02:18:07 +0200
committerKim Alvefur <zash@zash.se>2012-09-16 02:18:07 +0200
commit136674425b54b191ecef0006d8460f84a4a67f35 (patch)
treedd350c97b55e1c653748e56362cf9ba0db548f6e /core/usermanager.lua
parent0f8e80bdb1656d3d1058b5cccbbb48dffd648e89 (diff)
downloadprosody-136674425b54b191ecef0006d8460f84a4a67f35.tar.gz
prosody-136674425b54b191ecef0006d8460f84a4a67f35.zip
storagemanager: Add purge() for purging user data from all backends in use
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)