Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Further simplify the code. Added test requests.
Ioannis committed Feb 20, 2024
1 parent d4c2cf8 commit 9d82e9d
Showing 8 changed files with 336 additions and 286 deletions.
4 changes: 2 additions & 2 deletions Controller/GrouperGroupsController.php
@@ -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) {
@@ -349,7 +349,7 @@ public function removeSubscriber() {
];

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

0 comments on commit 9d82e9d

Please sign in to comment.