updated lru to latest
created new files posts/cache.js posts/parse.js posts/edit.js
This commit is contained in:
barisusakli
2015-04-20 17:56:43 -04:00
parent eb0e2fe75d
commit 1f06f90a50
14 changed files with 238 additions and 205 deletions

View File

@@ -9,7 +9,6 @@ var async = require('async'),
user = require('../user'),
posts = require('../posts'),
plugins = require('../plugins'),
postTools = require('../postTools'),
utils = require('../../public/src/utils');
@@ -56,7 +55,7 @@ module.exports = function(Topics) {
post.user = users[post.uid];
post.timestamp = utils.toISOString(post.timestamp);
tidToPost[post.tid] = post;
postTools.parsePost(post, next);
posts.parsePost(post, next);
}, function(err) {
if (err) {
return callback(err);