Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
5040:685403a6fee1 | 5041:be204204cc5f |
---|---|
101 return open(host, datastore):set(username, data); | 101 return open(host, datastore):set(username, data); |
102 end | 102 end |
103 function datamanager.list_stores(username, host) | 103 function datamanager.list_stores(username, host) |
104 return get_driver(host):list_stores(username, host); | 104 return get_driver(host):list_stores(username, host); |
105 end | 105 end |
106 function datamanager.purge(username, host) | |
107 return get_driver(host):purge(username, host); | |
108 end | |
106 | 109 |
107 return _M; | 110 return _M; |