Skip to content

Commit 15993f4

Browse files
ArtificialOwlbackportbot[bot]
authored andcommitted
members cannot directly join a Secret Circle
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
1 parent 066b8c5 commit 15993f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Model/Member.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ public function inviteToCircle($circleType) {
6363
public function joinCircle($circleType) {
6464

6565
switch ($circleType) {
66-
case Circle::CIRCLES_SECRET:
6766
case Circle::CIRCLES_PUBLIC:
6867
return $this->addMemberToCircle();
6968

69+
case Circle::CIRCLES_SECRET:
7070
case Circle::CIRCLES_CLOSED:
7171
return $this->joinClosedCircle();
7272
}

0 commit comments

Comments
 (0)