storagemanager: Fix argument (Thanks Maranda)
authorKim Alvefur <zash@zash.se>
Wed, 19 Sep 2012 14:39:19 +0000 (16:39 +0200)
committerKim Alvefur <zash@zash.se>
Wed, 19 Sep 2012 14:39:19 +0000 (16:39 +0200)
core/storagemanager.lua

index 5a7bb7bd6e716855aea8651eb0c6d9de5b0f30e7..97ff084f7267f0ff109b4963707a44ff1e9d7447 100644 (file)
@@ -96,6 +96,7 @@ 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 = {};