Skip to content

Commit

Permalink
adding notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel Stohn authored and Axel Stohn committed Mar 23, 2022
1 parent 030259a commit d59e18c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Controller/GrouperGroupsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,13 @@ public function addSubscriber()
$this->response->statusCode(404);
$this->response->body(json_encode(array('status' => 'ERROR', 'message' => 'EXCEPTION')));
$this->response->send();
$resultAdd = '';
} else {
$this->response->type('json');
$this->response->statusCode(401);
$this->response->body(json_encode(array('status' => 'ERROR', 'message' => 'ERROR')));
$this->response->send();
$resultAdd = '';
}
$this->set(compact('resultAdd'));
$this->set('_serialize', 'resultAdd');
Expand Down Expand Up @@ -250,6 +252,7 @@ public function removeSubscriber()
$this->response->statusCode(404);
$this->response->body(json_encode(array('status' => 'ERROR', 'message' => 'ERROR')));
$this->response->send();
$resultRemove = '';
}
$this->set(compact('resultRemove'));
$this->set('_serialize', 'resultRemove');
Expand Down Expand Up @@ -501,8 +504,9 @@ public function groupCreateTemplate()
}

/**
* ======================== NOT BEING USED ========================
*
* Delete a Grouper Group via Grouper Template
* NOT USED IN CODE
*/
public function groupDeleteTemplate()
{
Expand All @@ -515,9 +519,10 @@ public function groupDeleteTemplate()
}

/**
* ======================== NOT BEING USED ========================
*
* @return CakeResponse|void|null
* @deprecated
* NOT USED IN CODE
*
*/
public function groupCreate()
Expand All @@ -537,7 +542,8 @@ public function groupCreate()


/**
* This method is currently not used.
* ======================== NOT BEING USED ========================
*
* @return CakeResponse|null
*/
public function groupDelete()
Expand Down

0 comments on commit d59e18c

Please sign in to comment.