Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

Commit 3aac02c

Browse files
committed
Remove custom_bbcodes_notices_list setting
No longer used.
1 parent 82672ee commit 3aac02c

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

assets/javascripts/lib/discourse-markdown/custom-bbcodes.js.es6

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ export function setup(helper) {
22
helper.registerOptions((opts, siteSettings) => {
33
opts.features["custom-bbcodes"] = !!siteSettings.custom_bbcodes_enable;
44
opts.customBBCodes = {
5-
noticeTypes: (siteSettings.custom_bbcodes_notices_list || '').split('|'),
65
enabledTags: (siteSettings.custom_bbcodes_list || '').split('|')
76
};
87
});

config/locales/server.en.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ en:
22
site_settings:
33
custom_bbcodes_enable: 'Enable custom BBcode tags'
44
custom_bbcodes_list: 'Enabled tags'
5-
custom_bbcodes_notices_list: 'Available notice types'

config/settings.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,3 @@ custom_bbcodes_plugin:
1313
- kbd
1414
- notice
1515
- tabs
16-
custom_bbcodes_notices_list:
17-
client: true
18-
type: list
19-
default: 'warning|info|note|idea'

0 commit comments

Comments
 (0)