mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-09 09:02:48 +01:00
Removed storage of tid:lastFeedUpdate now that feeds are on-demand
This commit is contained in:
@@ -152,13 +152,6 @@ var async = require('async'),
|
||||
posts.create(uid, tid, content, next);
|
||||
},
|
||||
function(postData, next) {
|
||||
db.getObjectField('tid:lastFeedUpdate', tid, function(err, lastFeedUpdate) {
|
||||
var now = Date.now();
|
||||
if(!lastFeedUpdate || parseInt(lastFeedUpdate, 10) < now - 3600000) {
|
||||
db.setObjectField('tid:lastFeedUpdate', tid, now);
|
||||
}
|
||||
});
|
||||
|
||||
threadTools.notifyFollowers(tid, postData.pid, uid);
|
||||
user.sendPostNotificationToFollowers(uid, tid, postData.pid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user