mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
closes #3051
updated lru to latest created new files posts/cache.js posts/parse.js posts/edit.js
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user