aboutsummaryrefslogtreecommitdiffstats
path: root/core/storagemanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-09-10 23:17:06 +0100
committerMatthew Wild <mwild1@gmail.com>2012-09-10 23:17:06 +0100
commit955f9b6e14b048498925a14a3be97adc025f6c2c (patch)
tree6bfc6f9e4c7f37e2bdc3f7dc065baf6eca197257 /core/storagemanager.lua
parent3183c8ae099afd35ffc8ac062d2dfc37cdf1abd0 (diff)
parente8dc58ee2d83f8d33ebe45033e581b4d91011db6 (diff)
downloadprosody-955f9b6e14b048498925a14a3be97adc025f6c2c.tar.gz
prosody-955f9b6e14b048498925a14a3be97adc025f6c2c.zip
Merge 0.9->trunk
Diffstat (limited to 'core/storagemanager.lua')
-rw-r--r--core/storagemanager.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/storagemanager.lua b/core/storagemanager.lua
index 3379cc0c..1b76a394 100644
--- a/core/storagemanager.lua
+++ b/core/storagemanager.lua
@@ -78,8 +78,8 @@ function get_driver(host, store)
driver = null_storage_driver;
end
return driver, driver_name;
- end
-
+end
+
function open(host, store, typ)
local driver, driver_name = get_driver(host, store);
local ret, err = driver:open(store, typ);
@@ -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;