FIX: remove check for deprecated site setting

This commit is contained in:
Arpit Jalan 2018-04-23 17:48:08 +05:30
parent 256545ca2c
commit 3707cce1f0

View File

@ -101,7 +101,7 @@ const Topic = RestModel.extend({
const newTags = [];
tags.forEach(function(tag){
if (title.toLowerCase().indexOf(tag) === -1 || Discourse.SiteSettings.staff_tags.indexOf(tag) !== -1) {
if (title.toLowerCase().indexOf(tag) === -1) {
newTags.push(tag);
}
});