removedu if from filter:parse,post, parse strip teaser content

This commit is contained in:
barisusakli
2015-03-23 19:32:32 -04:00
parent 7c9e76132d
commit b268927cf9
6 changed files with 30 additions and 19 deletions

View File

@@ -52,7 +52,7 @@ var async = require('async'),
postData.relativeTime = utils.toISOString(postData.timestamp);
postData.relativeEditTime = parseInt(postData.edited, 10) !== 0 ? utils.toISOString(postData.edited) : '';
postTools.parsePost(postData, uid, next);
postTools.parsePost(postData, next);
}, function(err, posts) {
if (err) {
return callback(err);