diff --git a/lib/sentiment/entry_point.rb b/lib/sentiment/entry_point.rb index 3c66985b..16f891f6 100644 --- a/lib/sentiment/entry_point.rb +++ b/lib/sentiment/entry_point.rb @@ -18,13 +18,11 @@ module DiscourseAi ClassificationResult.has_sentiment_classification? && SiteSetting.ai_sentiment_enabled end - if Rails.env.test? || - ClassificationResult.has_sentiment_classification? && SiteSetting.ai_sentiment_enabled - EmotionFilterOrder.register!(plugin) - EmotionDashboardReport.register!(plugin) - SentimentDashboardReport.register!(plugin) - SentimentAnalysisReport.register!(plugin) - end + # TODO we need new interfaces to conditionally register depending on site in the multisite + EmotionFilterOrder.register!(plugin) + EmotionDashboardReport.register!(plugin) + SentimentDashboardReport.register!(plugin) + SentimentAnalysisReport.register!(plugin) end end end