mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
show seconds like search page
This commit is contained in:
@@ -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.');
|
||||
}
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user