FIX: remove check for deprecated site setting
This commit is contained in:
parent
256545ca2c
commit
3707cce1f0
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue