Node.js based forum software built for the modern web
less event logs for notif pruning
barisusakli2a1f9600e614
diff --git a/src/notifications.js b/src/notifications.jsindex 6db7f6381e..ca4537ef45 100644--- a/src/notifications.js+++ b/src/notifications.js@@ -247,7 +247,7 @@ var async = require('async'),}if (!Array.isArray(nids) || !nids.length) {- return events.log('No notifications to prune');+ return;}var keys = nids.map(function(nid) {@@ -256,8 +256,6 @@ var async = require('async'),numPruned = nids.length;- events.log('Notification pruning. Expired Nids = ' + numPruned);-async.parallel([function(next) {db.sortedSetRemove('notifications', nids, next);