Software /
code /
prosody
Comparison
core/storagemanager.lua @ 5111:7e577727fb9f
storagemanager: Fix arguments
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 31 Aug 2012 17:31:35 +0200 |
parent | 5110:72a7427368f8 |
child | 5121:b5a5643f8572 |
child | 5129:e8253c931166 |
comparison
equal
deleted
inserted
replaced
5110:72a7427368f8 | 5111:7e577727fb9f |
---|---|
99 end | 99 end |
100 function datamanager.store(username, host, datastore, data) | 100 function datamanager.store(username, host, datastore, data) |
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); |
105 end | 105 end |
106 function datamanager.purge(username, host) | 106 function datamanager.purge(username, host) |
107 return get_driver(host):purge(username, host); | 107 return get_driver(host):purge(username); |
108 end | 108 end |
109 | 109 |
110 return _M; | 110 return _M; |