removed deleted

v1.18.x
barisusakli 10 years ago
parent b1d48df6d8
commit 09bd42b9f6

@ -8,7 +8,6 @@ var async = require('async'),
module.exports = function(Posts) { module.exports = function(Posts) {
Posts.delete = function(pid, callback) { Posts.delete = function(pid, callback) {
Posts.setPostField(pid, 'deleted', 1, function(err) { Posts.setPostField(pid, 'deleted', 1, function(err) {
if (err) { if (err) {
@ -144,7 +143,7 @@ module.exports = function(Posts) {
return callback(err); return callback(err);
} }
topics.getTopicFields(postData.tid, ['cid', 'deleted'], function(err, topicData) { topics.getTopicFields(postData.tid, ['cid'], function(err, topicData) {
if (err) { if (err) {
return callback(err); return callback(err);
} }

Loading…
Cancel
Save