From 1267185a07815aebff59a4df1e99ef6e9c9da936 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Tue, 30 Jul 2019 21:12:13 +0800 Subject: [PATCH] DEV: Remove unused option. Follow up to 18ed03e044611c29b006011e1b729f5a9d43163a. --- .../lib/discourse_narrative_bot/track_selector.rb | 1 - .../spec/discourse_narrative_bot/track_selector_spec.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/plugins/discourse-narrative-bot/lib/discourse_narrative_bot/track_selector.rb b/plugins/discourse-narrative-bot/lib/discourse_narrative_bot/track_selector.rb index 6be15da9ca6..dad7dc1f95d 100644 --- a/plugins/discourse-narrative-bot/lib/discourse_narrative_bot/track_selector.rb +++ b/plugins/discourse-narrative-bot/lib/discourse_narrative_bot/track_selector.rb @@ -171,7 +171,6 @@ module DiscourseNarrativeBot self.class.i18n_key('random_mention.tracks'), discobot_username: discobot_username, reset_trigger: self.class.reset_trigger, - default_track: NewUserNarrative.reset_trigger, tracks: [NewUserNarrative.reset_trigger, AdvancedUserNarrative.reset_trigger].join(', ') ) diff --git a/plugins/discourse-narrative-bot/spec/discourse_narrative_bot/track_selector_spec.rb b/plugins/discourse-narrative-bot/spec/discourse_narrative_bot/track_selector_spec.rb index 35c3243baad..761d094c896 100644 --- a/plugins/discourse-narrative-bot/spec/discourse_narrative_bot/track_selector_spec.rb +++ b/plugins/discourse-narrative-bot/spec/discourse_narrative_bot/track_selector_spec.rb @@ -21,7 +21,6 @@ describe DiscourseNarrativeBot::TrackSelector do #{I18n.t( 'discourse_narrative_bot.track_selector.random_mention.tracks', discobot_username: discobot_username, - default_track: DiscourseNarrativeBot::NewUserNarrative.reset_trigger, reset_trigger: described_class.reset_trigger, tracks: "#{DiscourseNarrativeBot::NewUserNarrative.reset_trigger}, #{DiscourseNarrativeBot::AdvancedUserNarrative.reset_trigger}" )}