aboutsummaryrefslogtreecommitdiffstats
path: root/util/datamanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-12-14 14:25:58 +0100
committerKim Alvefur <zash@zash.se>2012-12-14 14:25:58 +0100
commit1d8297ca4f2e491fa3e3cf5f3416337f19d31e7c (patch)
treeb217bdcefeac3f793160edc9bb33a6f9a8d02ba3 /util/datamanager.lua
parent4d762f9cbf3c441160c53af1695fd77af3db48f2 (diff)
downloadprosody-1d8297ca4f2e491fa3e3cf5f3416337f19d31e7c.tar.gz
prosody-1d8297ca4f2e491fa3e3cf5f3416337f19d31e7c.zip
util.datamanager: Remove unused variable
Diffstat (limited to 'util/datamanager.lua')
-rw-r--r--util/datamanager.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua
index 2290d565..b70ad931 100644
--- a/util/datamanager.lua
+++ b/util/datamanager.lua
@@ -340,7 +340,6 @@ end
function purge(username, host)
local host_dir = format("%s/%s/", data_path, encode(host));
- local deleted = 0;
local errs = {};
for file in lfs.dir(host_dir) do
if lfs.attributes(host_dir..file, "mode") == "directory" then