mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 23:06:57 +08:00
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
Block a user