diff options
author | Kim Alvefur <zash@zash.se> | 2012-07-28 21:36:36 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-07-28 21:36:36 +0200 |
commit | 989d976c85ac5ac50ad68f6fde158aee8fec13d0 (patch) | |
tree | 29f0e334ae520c22eb8b0028ef7e75ae59cefb63 | |
parent | bf14c1db606376599a6c6c75d234a640ea5519a6 (diff) | |
download | prosody-989d976c85ac5ac50ad68f6fde158aee8fec13d0.tar.gz prosody-989d976c85ac5ac50ad68f6fde158aee8fec13d0.zip |
mod_storage_internal: Add method for removing all data belonging to a user
-rw-r--r-- | plugins/mod_storage_internal.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mod_storage_internal.lua b/plugins/mod_storage_internal.lua index cd778373..92ac3ef5 100644 --- a/plugins/mod_storage_internal.lua +++ b/plugins/mod_storage_internal.lua @@ -20,4 +20,8 @@ function driver:list_stores(username) return datamanager.list_stores(username, host); end +function driver:purge(user) + return datamanager.purge(user, host); +end + module:add_item("data-driver", driver); |