Software /
code /
prosody
Changeset
5037:c34fdcae6d29
storagemanager: Add method for listing stores
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 28 Jul 2012 21:30:54 +0200 |
parents | 5036:be33164aa97e |
children | 5038:242c62ff8e77 |
files | core/storagemanager.lua |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/core/storagemanager.lua Sat Jul 28 21:30:24 2012 +0200 +++ b/core/storagemanager.lua Sat Jul 28 21:30:54 2012 +0200 @@ -100,5 +100,8 @@ function datamanager.store(username, host, datastore, data) return open(host, datastore):set(username, data); end +function datamanager.list_stores(username, host) + return get_driver(host):list_stores(username, host); +end return _M;