Node.js based forum software built for the modern web
Removed storage of tid:lastFeedUpdate now that feeds are on-demand
Micheil Smith12b52e532051
diff --git a/src/topics.js b/src/topics.jsindex 4dba87e38d..79a2423252 100644--- a/src/topics.js+++ b/src/topics.js@@ -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);