Skip to content

Commit

Permalink
FIX: remove check for deprecated site setting
Browse files Browse the repository at this point in the history
  • Loading branch information
arpitjalan committed Apr 23, 2018
1 parent 256545c commit 3707cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/discourse/models/topic.js.es6
Expand Up @@ -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);
}
});
Expand Down

1 comment on commit 3707cce

@discoursebot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/latest-update-borked-site-visiblelisttags-issue/85921/8

Please sign in to comment.