aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/storagemanager.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/storagemanager.lua b/core/storagemanager.lua
index d744700a..5a7bb7bd 100644
--- a/core/storagemanager.lua
+++ b/core/storagemanager.lua
@@ -96,7 +96,6 @@ end
function purge(user, host)
local storage = config.get(host, "storage");
- local driver_name;
if type(storage) == "table" then
-- multiple storage backends in use that we need to purge
local purged = {};
@@ -123,7 +122,7 @@ function datamanager.stores(username, host, typ)
return get_driver(host):stores(username, typ);
end
function datamanager.purge(username, host)
- return purge(username);
+ return purge(username, host);
end
return _M;