From bfecff774789b07f3e1133be11bdd2e732fb7c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Franke?= Date: Fri, 20 Jan 2023 10:11:54 +0100 Subject: [PATCH] Remove OnPremises code. --- services/graph/pkg/identity/ldap_education_class.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/services/graph/pkg/identity/ldap_education_class.go b/services/graph/pkg/identity/ldap_education_class.go index 046fbccbd..f19af0963 100644 --- a/services/graph/pkg/identity/ldap_education_class.go +++ b/services/graph/pkg/identity/ldap_education_class.go @@ -162,14 +162,6 @@ func (i *LDAP) UpdateEducationClass(ctx context.Context, id string, class libreg } } - if class.GetOnPremisesSamAccountName() != "" { - return nil, errorcode.New(errorcode.NotSupported, "changing the SAM account name is currently not supported") - } - - if class.GetOnPremisesDomainName() != "" { - return nil, errorcode.New(errorcode.NotSupported, "changing the SAM account name is currently not supported") - } - if class.GetDescription() != "" { return nil, errorcode.New(errorcode.NotSupported, "changing the description is currently not supported") }