Software /
code /
prosody
Comparison
plugins/mod_storage_internal.lua @ 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 |
parent | 5033:c64b5081bfa8 |
child | 5121:b5a5643f8572 |
child | 5130:051d352ed03c |
comparison
equal
deleted
inserted
replaced
5038:242c62ff8e77 | 5039:656ce68c4781 |
---|---|
18 | 18 |
19 function driver:list_stores(username) | 19 function driver:list_stores(username) |
20 return datamanager.list_stores(username, host); | 20 return datamanager.list_stores(username, host); |
21 end | 21 end |
22 | 22 |
23 function driver:purge(user) | |
24 return datamanager.purge(user, host); | |
25 end | |
26 | |
23 module:add_item("data-driver", driver); | 27 module:add_item("data-driver", driver); |