Diff

util/datamanager.lua @ 5244:775d98184acf

util.datamanager: Remove unused variable
author Kim Alvefur <zash@zash.se>
date Fri, 14 Dec 2012 14:25:58 +0100
parent 5243:07e8256efcda
child 5250:6d8ec8c90240
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