|
|
@ -160,6 +160,9 @@ module.exports = function (Categories) {
|
|
|
|
topics.forEach((topic) => {
|
|
|
|
topics.forEach((topic) => {
|
|
|
|
if (!topic.scheduled && topic.deleted && !topic.isOwner) {
|
|
|
|
if (!topic.scheduled && topic.deleted && !topic.isOwner) {
|
|
|
|
topic.title = '[[topic:topic_is_deleted]]';
|
|
|
|
topic.title = '[[topic:topic_is_deleted]]';
|
|
|
|
|
|
|
|
if (topic.hasOwnProperty('titleRaw')) {
|
|
|
|
|
|
|
|
topics.titleRaw = '[[topic:topic_is_deleted]]';
|
|
|
|
|
|
|
|
}
|
|
|
|
topic.slug = topic.tid;
|
|
|
|
topic.slug = topic.tid;
|
|
|
|
topic.teaser = null;
|
|
|
|
topic.teaser = null;
|
|
|
|
topic.noAnchor = true;
|
|
|
|
topic.noAnchor = true;
|
|
|
|