From ac36f6bd02c665c5f9655ca73f04528cd08977b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Duffeck?= Date: Thu, 16 Jan 2025 15:00:56 +0100 Subject: [PATCH] Remove unneeded one-off code --- .../collaboration/pkg/config/defaults/defaultconfig.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/services/collaboration/pkg/config/defaults/defaultconfig.go b/services/collaboration/pkg/config/defaults/defaultconfig.go index 687001227..215e11a80 100644 --- a/services/collaboration/pkg/config/defaults/defaultconfig.go +++ b/services/collaboration/pkg/config/defaults/defaultconfig.go @@ -105,14 +105,6 @@ func EnsureDefaults(cfg *config.Config) { if cfg.CS3Api.GRPCClientTLS == nil && cfg.Commons != nil { cfg.CS3Api.GRPCClientTLS = structs.CopyOrZeroValue(cfg.Commons.GRPCClientTLS) } - - // Copy the app name into the product name if empty. - // This is for the upgrade from OpenCloud 6 to 7 where we didn't have product - // name and the app name was acting as such. From OpenCloud 7, the product name - // should be set manually in the configuration. - if cfg.App.Product == "" { - cfg.App.Product = cfg.App.Name - } } // Sanitize sanitized the configuration