A platform for community discussion. Free, open, simple.
FIX: logs actor of disable theme action in rake (#35732)
Yuriy Kurant293277bf61c2
diff --git a/lib/tasks/migrate_advanced_search_banner_to_welcome_banner.rake b/lib/tasks/migrate_advanced_search_banner_to_welcome_banner.rakeindex b81267ec67b..81245bbcbe5 100644--- a/lib/tasks/migrate_advanced_search_banner_to_welcome_banner.rake+++ b/lib/tasks/migrate_advanced_search_banner_to_welcome_banner.rake@@ -349,5 +349,6 @@ def disable_theme_component(theme)puts " Disabling #{theme_identifier(theme)}..."theme.update!(enabled: false)+ StaffActionLogger.new(Discourse.system_user).log_theme_component_disabled(theme)puts " \e[1;32m✓ Disabled\e[0m"end