aboutsummaryrefslogtreecommitdiff
path: root/Command/Group.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-10-01 15:17:21 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-10-01 15:17:21 -0400
commit041242f735a20027acfef10764398c208dc94183 (patch)
treed2ad39f9ccfe85d0cc230ad6c43403c243339416 /Command/Group.hs
parent59d2f363b7a2762978978bb3edf62aa47ef81abd (diff)
simplify
Diffstat (limited to 'Command/Group.hs')
-rw-r--r--Command/Group.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Command/Group.hs b/Command/Group.hs
index 2952f2142..5513ca3f7 100644
--- a/Command/Group.hs
+++ b/Command/Group.hs
@@ -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