diff --git a/src/database/mongo/hash.js b/src/database/mongo/hash.js index fe80afaaf4..dbf294119e 100644 --- a/src/database/mongo/hash.js +++ b/src/database/mongo/hash.js @@ -1,7 +1,5 @@ "use strict"; -var winston = require('winston'); - module.exports = function(db, module) { var helpers = module.helpers.mongo; @@ -121,9 +119,8 @@ module.exports = function(db, module) { } var map = helpers.toMap(items); - var returnData = [], - index = 0, - item; + var returnData = []; + var item; for (var i=0; i