From f7f8f20929972134c129aea7c53ec45eb60e0454 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 17 Sep 2012 05:42:10 +0200 Subject: storagemanager, datamanager, mod_storage_{internal,sql}: Replace list_stores() with an iterator version --- core/storagemanager.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core') 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); -- cgit v1.2.3