File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
lib/Github/Api/Organization Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,6 @@ public function check($organization, $username)
44
44
return $ this ->get ('/orgs/ ' .rawurlencode ($ organization ).'/public_members/ ' .rawurlencode ($ username ));
45
45
}
46
46
47
- public function addMember ($ organization , $ username )
48
- {
49
- return $ this ->put ('/orgs/ ' .rawurlencode ($ organization ).'/memberships/ ' .rawurlencode ($ username ));
50
- }
51
-
52
47
public function publicize ($ organization , $ username )
53
48
{
54
49
return $ this ->put ('/orgs/ ' .rawurlencode ($ organization ).'/public_members/ ' .rawurlencode ($ username ));
@@ -67,6 +62,11 @@ public function add($organization, $username)
67
62
return $ this ->put ('/orgs/ ' .rawurlencode ($ organization ).'/memberships/ ' .rawurlencode ($ username ));
68
63
}
69
64
65
+ public function addMember ($ organization , $ username )
66
+ {
67
+ return $ this ->add ($ organization , $ username );
68
+ }
69
+
70
70
public function remove ($ organization , $ username )
71
71
{
72
72
return $ this ->delete ('/orgs/ ' .rawurlencode ($ organization ).'/members/ ' .rawurlencode ($ username ));
You can’t perform that action at this time.
0 commit comments