From 3bef8d2724da7ff93c9b04f2656559a20f6bdbbd Mon Sep 17 00:00:00 2001 From: Roland Gee Date: Mon, 6 Apr 2015 04:31:35 -0400 Subject: [PATCH] deleted unused variables --- ws1/synergy/models/admin.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ws1/synergy/models/admin.js b/ws1/synergy/models/admin.js index a2b852e..0c66935 100644 --- a/ws1/synergy/models/admin.js +++ b/ws1/synergy/models/admin.js @@ -36,17 +36,12 @@ adminSchema.statics.deleteHouse = function(hid){ if(err) throw(err); }); - - return hid; } adminSchema.statics.deleteHouses = function(hids, deletes, callback){ - console.log(deletes); - var j = 0; for(var i = 0; i < hids.length; i++){ if(deletes[i] == 1){ console.log(hids[i]); adminSchema.statics.deleteHouse(hids[i]); - j++; } } }