From cf2dc406d5b412671b324faf9723a0c8d9dfab7d Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Sat, 1 Jun 2024 17:04:06 +0200 Subject: [PATCH] Remove dead function SetWildcardUser. --- group/description.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/group/description.go b/group/description.go index 2dab8a6..c11441c 100644 --- a/group/description.go +++ b/group/description.go @@ -567,18 +567,6 @@ func GetDescriptionNames() ([]string, error) { return names, err } -func SetWildcardUser(group string, user *UserDescription) error { - groups.mu.Lock() - defer groups.mu.Unlock() - - desc, err := readDescription(group, false) - if err != nil { - return err - } - desc.WildcardUser = user - return rewriteDescriptionFile(desc.FileName, desc) -} - func SetKeys(group string, keys []map[string]any) error { if keys != nil { _, err := token.ParseKeys(keys, "", "")