mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 16:35:47 +01:00
ESlint no-unused-vars
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user