projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f37264c
)
util.datamanager: Remove unused variable
author
Kim Alvefur
<zash@zash.se>
Fri, 14 Dec 2012 13:25:58 +0000
(14:25 +0100)
committer
Kim Alvefur
<zash@zash.se>
Fri, 14 Dec 2012 13:25:58 +0000
(14:25 +0100)
util/datamanager.lua
patch
|
blob
|
history
diff --git
a/util/datamanager.lua
b/util/datamanager.lua
index 2290d5651f7598325176c2a381ae56f4bfabde24..b70ad93142be31292d8fa8195acc18ae0d5a2ebd 100644
(file)
--- 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