Changeset

5244:775d98184acf

util.datamanager: Remove unused variable
author Kim Alvefur <zash@zash.se>
date Fri, 14 Dec 2012 14:25:58 +0100
parents 5243:07e8256efcda
children 5245:f29741c96090
files util/datamanager.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/datamanager.lua	Fri Dec 14 14:21:32 2012 +0100
+++ b/util/datamanager.lua	Fri Dec 14 14:25:58 2012 +0100
@@ -340,7 +340,6 @@
 
 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