fixes #703 - topic feeds were not saving (who knows for how long!)

v1.18.x
Julian Lam 11 years ago
parent 2039885d96
commit 14744a854f

@ -69,13 +69,15 @@
next();
}, function() {
if (process.env.NODE_ENV === 'development') {
winston.info('[rss] Re-generated RSS Feed for tid ' + tid + '.');
}
Feed.saveFeed('feeds/topics/' + tid + '.rss', feed, function (err) {
if (process.env.NODE_ENV === 'development') {
winston.info('[rss] Re-generated RSS Feed for tid ' + tid + '.');
}
if (callback) {
callback();
}
if (callback) {
callback();
}
});
});
});
@ -111,7 +113,9 @@
winston.info('[rss] Re-generated RSS Feed for cid ' + cid + '.');
}
if (callback) callback();
if (callback) {
callback();
}
});
});
});

Loading…
Cancel
Save