Removed onboarding feature flag (#23726)

Этот коммит содержится в:
Maria A Nunez
2023-06-14 08:58:02 -04:00
коммит произвёл GitHub
родитель 6a5bb53963
Коммит 4021098456
2 изменённых файлов: 0 добавлений и 10 удалений

Просмотреть файл

@@ -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