aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-07-28 21:38:22 +0200
committerKim Alvefur <zash@zash.se>2012-07-28 21:38:22 +0200
commitc8d3eca7486cc4e3f707956490dbe4f7fb15eb38 (patch)
treec528c28b61d9489e595f899e34b5c7ea05e06852 /core
parente32e74aaae141499428959e2f6863cea87ee297a (diff)
downloadprosody-c8d3eca7486cc4e3f707956490dbe4f7fb15eb38.tar.gz
prosody-c8d3eca7486cc4e3f707956490dbe4f7fb15eb38.zip
storagemanager: Add method for removing all data belonging to a user
Diffstat (limited to 'core')
-rw-r--r--core/storagemanager.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/storagemanager.lua b/core/storagemanager.lua
index 4ae79213..3379cc0c 100644
--- a/core/storagemanager.lua
+++ b/core/storagemanager.lua
@@ -103,5 +103,8 @@ end
function datamanager.list_stores(username, host)
return get_driver(host):list_stores(username, host);
end
+function datamanager.purge(username, host)
+ return get_driver(host):purge(username, host);
+end
return _M;