aboutsummaryrefslogtreecommitdiffstats
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
commit151f74b143793df343d415825da402f57e655cec (patch)
treefcfe5406796a55ee9af2f258f42703892846d8da
parenta290e6a552c2a9ac3c2d346f3d1c6095e3016097 (diff)
downloadprosody-151f74b143793df343d415825da402f57e655cec.tar.gz
prosody-151f74b143793df343d415825da402f57e655cec.zip
storagemanager: Fix arguments
-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;