Changeset

5039:656ce68c4781

mod_storage_internal: Add method for removing all data belonging to a user
author Kim Alvefur <zash@zash.se>
date Sat, 28 Jul 2012 21:36:36 +0200
parents 5038:242c62ff8e77
children 5040:685403a6fee1
files plugins/mod_storage_internal.lua
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_storage_internal.lua	Sat Jul 28 21:31:54 2012 +0200
+++ b/plugins/mod_storage_internal.lua	Sat Jul 28 21:36:36 2012 +0200
@@ -20,4 +20,8 @@
 	return datamanager.list_stores(username, host);
 end
 
+function driver:purge(user)
+	return datamanager.purge(user, host);
+end
+
 module:add_item("data-driver", driver);