Diff

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
line wrap: on
line diff
--- a/plugins/mod_storage_internal.lua	Sun Sep 16 02:18:07 2012 +0200
+++ b/plugins/mod_storage_internal.lua	Mon Sep 17 05:42:10 2012 +0200
@@ -16,8 +16,8 @@
 	return datamanager.store(user, host, self.store, data);
 end
 
-function driver:list_stores(username)
-	return datamanager.list_stores(username, host);
+function driver:stores(username)
+	return datamanager.stores(username, host);
 end
 
 function driver:purge(user)