simplify
This commit is contained in:
parent
2a96b1aab3
commit
5bd5bc094a
3 changed files with 11 additions and 11 deletions
|
@ -30,6 +30,5 @@ start _ = error "Specify a repository and a group."
|
|||
|
||||
perform :: UUID -> Group -> CommandPerform
|
||||
perform uuid g = do
|
||||
s <- lookupGroups uuid
|
||||
groupSet uuid (S.insert g s)
|
||||
groupChange uuid (S.insert g)
|
||||
next $ return True
|
||||
|
|
|
@ -30,6 +30,5 @@ start _ = error "Specify a repository and a group."
|
|||
|
||||
perform :: UUID -> Group -> CommandPerform
|
||||
perform uuid g = do
|
||||
s <- lookupGroups uuid
|
||||
groupSet uuid (S.delete g s)
|
||||
groupChange uuid (S.delete g)
|
||||
next $ return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue