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
commit07bb8a42ce660684bbe4742aeefd5ea92092a37e (patch)
treed7fb672e714c45dae2129e01afc73e33570c4c40 /plugins/mod_storage_internal.lua
parent136674425b54b191ecef0006d8460f84a4a67f35 (diff)
downloadprosody-07bb8a42ce660684bbe4742aeefd5ea92092a37e.tar.gz
prosody-07bb8a42ce660684bbe4742aeefd5ea92092a37e.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)