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 | 3c09bba61e5d5da7784f0061d909e00003f2e523 (patch) | |
tree | c528c28b61d9489e595f899e34b5c7ea05e06852 | |
parent | 066faa6e4eadbb95f982d50aaabde03a6254a669 (diff) | |
download | prosody-3c09bba61e5d5da7784f0061d909e00003f2e523.tar.gz prosody-3c09bba61e5d5da7784f0061d909e00003f2e523.zip |
storagemanager: Add method for removing all data belonging to a user
-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; |