1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-09 18:25:58 +01:00

Remove dead function SetWildcardUser.

This commit is contained in:
Juliusz Chroboczek 2024-06-01 17:04:06 +02:00
parent f802075aa8
commit cf2dc406d5

View file

@ -567,18 +567,6 @@ func GetDescriptionNames() ([]string, error) {
return names, err 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 { func SetKeys(group string, keys []map[string]any) error {
if keys != nil { if keys != nil {
_, err := token.ParseKeys(keys, "", "") _, err := token.ParseKeys(keys, "", "")