aboutsummaryrefslogtreecommitdiffstats
path: root/core/storagemanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-08-31 17:31:35 +0200
committerKim Alvefur <zash@zash.se>2012-08-31 17:31:35 +0200
commitc57bd063eadea772e61c23a4485df99c8fa24aa7 (patch)
treefcfe5406796a55ee9af2f258f42703892846d8da /core/storagemanager.lua
parent178dcc2e912a74f18dcb5f16398684450bbb9dbc (diff)
downloadprosody-c57bd063eadea772e61c23a4485df99c8fa24aa7.tar.gz
prosody-c57bd063eadea772e61c23a4485df99c8fa24aa7.zip
storagemanager: Fix arguments
Diffstat (limited to 'core/storagemanager.lua')
-rw-r--r--core/storagemanager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/storagemanager.lua b/core/storagemanager.lua
index 3c8ec7ec..1b76a394 100644
--- a/core/storagemanager.lua
+++ b/core/storagemanager.lua
@@ -101,10 +101,10 @@ 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, host);
+ return get_driver(host):list_stores(username);
end
function datamanager.purge(username, host)
- return get_driver(host):purge(username, host);
+ return get_driver(host):purge(username);
end
return _M;