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 | acf5902aaf7dc3bbdc0cde8f4737fe0e4534720b (patch) | |
tree | 29f0e334ae520c22eb8b0028ef7e75ae59cefb63 | |
parent | 2d922cbb68dc28afa9daab68232202d335d9d741 (diff) | |
download | prosody-acf5902aaf7dc3bbdc0cde8f4737fe0e4534720b.tar.gz prosody-acf5902aaf7dc3bbdc0cde8f4737fe0e4534720b.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); |