diff options
author | Kim Alvefur <zash@zash.se> | 2012-07-28 21:38:22 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-07-28 21:38:22 +0200 |
commit | c8d3eca7486cc4e3f707956490dbe4f7fb15eb38 (patch) | |
tree | c528c28b61d9489e595f899e34b5c7ea05e06852 /core/storagemanager.lua | |
parent | e32e74aaae141499428959e2f6863cea87ee297a (diff) | |
download | prosody-c8d3eca7486cc4e3f707956490dbe4f7fb15eb38.tar.gz prosody-c8d3eca7486cc4e3f707956490dbe4f7fb15eb38.zip |
storagemanager: Add method for removing all data belonging to a user
Diffstat (limited to 'core/storagemanager.lua')
-rw-r--r-- | core/storagemanager.lua | 3 |
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; |