Remove OnPremises code.

This commit is contained in:
Daniël Franke
2023-01-20 10:11:54 +01:00
committed by Ralf Haferkamp
parent 4389bcdd25
commit bfecff7747

View File

@@ -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")
}