Software /
code /
prosody
Changeset
5041:be204204cc5f
storagemanager: Add method for removing all data belonging to a user
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 28 Jul 2012 21:38:22 +0200 |
parents | 5040:685403a6fee1 |
children | 5042:ce823b32225e |
files | core/storagemanager.lua |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/core/storagemanager.lua Sat Jul 28 21:36:42 2012 +0200 +++ b/core/storagemanager.lua Sat Jul 28 21:38:22 2012 +0200 @@ -103,5 +103,8 @@ 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;