barisusakli 9 years ago
parent e2f78a9585
commit f246c5e1ee

@ -148,6 +148,9 @@ module.exports = function(Topics) {
if (post.deleted && !(topicPrivileges.isAdminOrMod || post.selfPost)) { if (post.deleted && !(topicPrivileges.isAdminOrMod || post.selfPost)) {
post.content = '[[topic:post_is_deleted]]'; post.content = '[[topic:post_is_deleted]]';
if (post.user) {
post.user.signature = '';
}
} }
} }
}); });

Loading…
Cancel
Save