show seconds like search page

This commit is contained in:
barisusakli
2015-02-07 23:32:42 -05:00
parent 138a13f1b2
commit b41119a374
3 changed files with 2 additions and 15 deletions

View File

@@ -270,12 +270,6 @@ var async = require('async'),
};
Notifications.prune = function() {
var start = process.hrtime();
if (process.env.NODE_ENV === 'development') {
winston.info('[notifications.prune] Removing expired notifications from the database.');
}
var week = 604800000,
numPruned = 0;
@@ -307,10 +301,6 @@ var async = require('async'),
if (err) {
return winston.error('Encountered error pruning notifications: ' + err.message);
}
if (process.env.NODE_ENV === 'development') {
winston.info('[notifications.prune] Notification pruning completed. ' + numPruned + ' expired notification' + (numPruned !== 1 ? 's' : '') + ' removed.');
}
});
});
};