Skip to content

Commit

Permalink
deleted unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Roland Gee committed Apr 6, 2015
1 parent ad3006b commit 3bef8d2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ws1/synergy/models/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}
}
}
Expand Down

0 comments on commit 3bef8d2

Please sign in to comment.