diff options
author | Kim Alvefur <zash@zash.se> | 2012-09-17 05:42:10 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-09-17 05:42:10 +0200 |
commit | f7f8f20929972134c129aea7c53ec45eb60e0454 (patch) | |
tree | d7fb672e714c45dae2129e01afc73e33570c4c40 /core/storagemanager.lua | |
parent | 172562976cd1ef9395f8f6913d49f02d3ba3dba2 (diff) | |
download | prosody-f7f8f20929972134c129aea7c53ec45eb60e0454.tar.gz prosody-f7f8f20929972134c129aea7c53ec45eb60e0454.zip |
storagemanager, datamanager, mod_storage_{internal,sql}: Replace list_stores() with an iterator version
Diffstat (limited to 'core/storagemanager.lua')
-rw-r--r-- | core/storagemanager.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/storagemanager.lua b/core/storagemanager.lua index a9759b6a..29cad2ff 100644 --- a/core/storagemanager.lua +++ b/core/storagemanager.lua @@ -119,8 +119,8 @@ end 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); +function datamanager.stores(username, host, typ) + return get_driver(host):stores(username, typ); end function datamanager.purge(username, host) return purge(username); |