aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_internal.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-09-17 05:42:10 +0200
committerKim Alvefur <zash@zash.se>2012-09-17 05:42:10 +0200
commitf7f8f20929972134c129aea7c53ec45eb60e0454 (patch)
treed7fb672e714c45dae2129e01afc73e33570c4c40 /plugins/mod_storage_internal.lua
parent172562976cd1ef9395f8f6913d49f02d3ba3dba2 (diff)
downloadprosody-f7f8f20929972134c129aea7c53ec45eb60e0454.tar.gz
prosody-f7f8f20929972134c129aea7c53ec45eb60e0454.zip
storagemanager, datamanager, mod_storage_{internal,sql}: Replace list_stores() with an iterator version
Diffstat (limited to 'plugins/mod_storage_internal.lua')
-rw-r--r--plugins/mod_storage_internal.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_storage_internal.lua b/plugins/mod_storage_internal.lua
index 92ac3ef5..d8fdfc6f 100644
--- a/plugins/mod_storage_internal.lua
+++ b/plugins/mod_storage_internal.lua
@@ -16,8 +16,8 @@ function driver:set(user, data)
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)