Node.js based forum software built for the modern web
removed unusued uploadedImages property
Baris Usaklie6452cbd4d52
diff --git a/src/posts.js b/src/posts.jsindex 535e17f01b..9b36e79da7 100644--- a/src/posts.js+++ b/src/posts.js@@ -370,18 +370,7 @@ var RDB = require('./redis'),winston.err('invalid time value');}- if (postData.uploadedImages) {- try {- postData.uploadedImages = JSON.parse(postData.uploadedImages);- } catch(err) {- postData.uploadedImages = [];- winston.err(err);- }- } else {- postData.uploadedImages = [];- }-- postTools.parse(postData.content, function(err, content) {+ postTools.parse(postData.content, function(err, content) {postData.content = content;_callback(null, postData);});