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
commit3c09bba61e5d5da7784f0061d909e00003f2e523 (patch)
treec528c28b61d9489e595f899e34b5c7ea05e06852 /core
parent066faa6e4eadbb95f982d50aaabde03a6254a669 (diff)
downloadprosody-3c09bba61e5d5da7784f0061d909e00003f2e523.tar.gz
prosody-3c09bba61e5d5da7784f0061d909e00003f2e523.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;