Software /
code /
prosody
Comparison
plugins/mod_storage_internal.lua @ 5130:051d352ed03c
storagemanager, datamanager, mod_storage_{internal,sql}: Replace list_stores() with an iterator version
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 17 Sep 2012 05:42:10 +0200 |
parent | 5039:656ce68c4781 |
child | 5133:1443d1c37c6c |
comparison
equal
deleted
inserted
replaced
5129:e8253c931166 | 5130:051d352ed03c |
---|---|
14 | 14 |
15 function driver:set(user, data) | 15 function driver:set(user, data) |
16 return datamanager.store(user, host, self.store, data); | 16 return datamanager.store(user, host, self.store, data); |
17 end | 17 end |
18 | 18 |
19 function driver:list_stores(username) | 19 function driver:stores(username) |
20 return datamanager.list_stores(username, host); | 20 return datamanager.stores(username, host); |
21 end | 21 end |
22 | 22 |
23 function driver:purge(user) | 23 function driver:purge(user) |
24 return datamanager.purge(user, host); | 24 return datamanager.purge(user, host); |
25 end | 25 end |