aboutsummaryrefslogtreecommitdiffstats
path: root/core/storagemanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-09-19 12:08:33 +0100
committerMatthew Wild <mwild1@gmail.com>2012-09-19 12:08:33 +0100
commite53e17d1bb45e433221702c9fe48a3e871151655 (patch)
tree212486755e2e0739c739d12177e9c69165a880ae /core/storagemanager.lua
parentf7f8f20929972134c129aea7c53ec45eb60e0454 (diff)
downloadprosody-e53e17d1bb45e433221702c9fe48a3e871151655.tar.gz
prosody-e53e17d1bb45e433221702c9fe48a3e871151655.zip
storagemanager: Remove usage of 'core' when calling configmanager.get()
Diffstat (limited to 'core/storagemanager.lua')
-rw-r--r--core/storagemanager.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/storagemanager.lua b/core/storagemanager.lua
index 29cad2ff..10d1a4bc 100644
--- a/core/storagemanager.lua
+++ b/core/storagemanager.lua
@@ -59,7 +59,7 @@ function load_driver(host, driver_name)
end
function get_driver(host, store)
- local storage = config.get(host, "core", "storage");
+ local storage = config.get(host, "storage");
local driver_name;
local option_type = type(storage);
if option_type == "string" then
@@ -68,7 +68,7 @@ function get_driver(host, store)
driver_name = storage[store];
end
if not driver_name then
- driver_name = config.get(host, "core", "default_storage") or "internal";
+ driver_name = config.get(host, "default_storage") or "internal";
end
local driver = load_driver(host, driver_name);
@@ -95,7 +95,7 @@ function open(host, store, typ)
end
function purge(user, host)
- local storage = config.get(host, "core", "storage");
+ local storage = config.get(host, "storage");
local driver_name;
if type(storage) == "table" then
-- multiple storage backends in use that we need to purge