mirror of
https://github.com/jech/galene.git
synced 2024-11-22 08:35:57 +01:00
Remove dead function SetWildcardUser.
This commit is contained in:
parent
f802075aa8
commit
cf2dc406d5
1 changed files with 0 additions and 12 deletions
|
@ -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, "", "")
|
||||
|
|
Loading…
Reference in a new issue