From 4021098456a7a2b797f2d922fde50c217b411ef9 Mon Sep 17 00:00:00 2001 From: Maria A Nunez Date: Wed, 14 Jun 2023 08:58:02 -0400 Subject: [PATCH] Removed onboarding feature flag (#23726) --- server/channels/app/migrations.go | 6 ------ server/public/model/feature_flags.go | 4 ---- 2 files changed, 10 deletions(-) diff --git a/server/channels/app/migrations.go b/server/channels/app/migrations.go index 107a7e90cf..fa643174ff 100644 --- a/server/channels/app/migrations.go +++ b/server/channels/app/migrations.go @@ -473,12 +473,6 @@ func (s *Server) doPlaybooksRolesCreationMigration() { const existingInstallationPostsThreshold = 10 func (s *Server) doFirstAdminSetupCompleteMigration() { - // Don't run the migration until the flag is turned on. - - if !s.platform.Config().FeatureFlags.UseCaseOnboarding { - return - } - // If the migration is already marked as completed, don't do it again. if _, err := s.Store().System().GetByName(FirstAdminSetupCompleteKey); err == nil { return diff --git a/server/public/model/feature_flags.go b/server/public/model/feature_flags.go index c58d454d34..a5959b4ff4 100644 --- a/server/public/model/feature_flags.go +++ b/server/public/model/feature_flags.go @@ -41,9 +41,6 @@ type FeatureFlags struct { NormalizeLdapDNs bool - // Enable special onboarding flow for first admin - UseCaseOnboarding bool - // Enable GraphQL feature GraphQL bool @@ -89,7 +86,6 @@ func (f *FeatureFlags) SetDefaults() { f.BoardsFeatureFlags = "" f.BoardsDataRetention = false f.NormalizeLdapDNs = false - f.UseCaseOnboarding = true f.GraphQL = false f.InsightsEnabled = true f.CommandPalette = false