ESlint no-unused-vars

This commit is contained in:
Peter Jaszkowiak
2017-02-18 15:05:36 -07:00
parent c18808fdeb
commit 4bb49a7171
70 changed files with 97 additions and 162 deletions

View File

@@ -373,7 +373,6 @@ var utils = require('../public/src/utils');
Notifications.prune = function () {
var week = 604800000;
var numPruned = 0;
var cutoffTime = Date.now() - week;
@@ -390,8 +389,6 @@ var utils = require('../public/src/utils');
return 'notifications:' + nid;
});
numPruned = nids.length;
async.parallel([
function (next) {
db.sortedSetRemove('notifications', nids, next);