Skip to content

Commit

Permalink
Further simplify the code. Added test requests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioannis committed Feb 20, 2024
1 parent d4c2cf8 commit 9d82e9d
Show file tree
Hide file tree
Showing 8 changed files with 336 additions and 286 deletions.
4 changes: 2 additions & 2 deletions Controller/GrouperGroupsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function addSubscriber() {
];

try {
$resultAdd = $this->GrouperGroup->addMemberToGroup($scope,
$resultAdd = $this->GrouperGroup->addGrouperGroupMember($scope,
$this->userId, $this->CoGrouperLiteWidget->getConfig());
CakeLog::write('debug', __METHOD__ . '::response: ' . var_export($resultAdd, true));
} catch (Exception $e) {
Expand Down Expand Up @@ -349,7 +349,7 @@ public function removeSubscriber() {
];

try {
$resultRemove = $this->GrouperGroup->removeMemberToGroup($scope,
$resultRemove = $this->GrouperGroup->removeGrouperGroupMember($scope,
$this->userId,
$this->CoGrouperLiteWidget->getConfig());

Expand Down
Loading

0 comments on commit 9d82e9d

Please sign in to comment.