Node.js based forum software built for the modern web
remove async from Feed.updateTopic
Baris Soner Usakli0a4ac1a34634
diff --git a/src/feed.js b/src/feed.jsindex bea1bde19a..991021b6c7 100644--- a/src/feed.js+++ b/src/feed.js@@ -29,15 +29,8 @@Feed.updateTopic = function(tid, cid) {var cache_time_in_seconds = 60;- function getTopicData(next) {- topics.getTopicById(tid, 0, function(topicData) {- next(null, topicData);- });- }-- async.parallel([getTopicData], function(err, results) {- var topicData = results[0],- location = '/topic/' + topicData.slug,+ topics.getTopicById(tid, 0, function(topicData) {+ var location = '/topic/' + topicData.slug,xml_url = '/topic/' + tid + '.rss';var post = topicData.main_posts[0];