Software /
code /
prosody
Diff
core/storagemanager.lua @ 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 |
parent | 5037:c34fdcae6d29 |
child | 5110:72a7427368f8 |
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;