From d59e18c7a2915d23b6fca964f83fda63b5f92b4d Mon Sep 17 00:00:00 2001 From: Axel Stohn Date: Wed, 23 Mar 2022 14:03:14 -0700 Subject: [PATCH] adding notes --- Controller/GrouperGroupsController.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Controller/GrouperGroupsController.php b/Controller/GrouperGroupsController.php index 263381a..7958cd3 100644 --- a/Controller/GrouperGroupsController.php +++ b/Controller/GrouperGroupsController.php @@ -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'); @@ -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'); @@ -501,8 +504,9 @@ public function groupCreateTemplate() } /** + * ======================== NOT BEING USED ======================== + * * Delete a Grouper Group via Grouper Template - * NOT USED IN CODE */ public function groupDeleteTemplate() { @@ -515,9 +519,10 @@ public function groupDeleteTemplate() } /** + * ======================== NOT BEING USED ======================== + * * @return CakeResponse|void|null * @deprecated - * NOT USED IN CODE * */ public function groupCreate() @@ -537,7 +542,8 @@ public function groupCreate() /** - * This method is currently not used. + * ======================== NOT BEING USED ======================== + * * @return CakeResponse|null */ public function groupDelete()