mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02:00
Rename ApipResponse->exit* methods to better show their meaning
This commit is contained in:
parent
960171c4e0
commit
642baa1f2a
68 changed files with 88 additions and 88 deletions
|
@ -84,6 +84,6 @@ class Update extends BaseApi
|
|||
// return success message incl. missing users in array
|
||||
$status = ($erroraddinguser ? 'missing user' : 'ok');
|
||||
$success = ['success' => true, 'gid' => $gid, 'name' => $name, 'status' => $status, 'wrong users' => $errorusers];
|
||||
$this->response->exit('group_update', ['$result' => $success], $this->parameters['extension'] ?? null);
|
||||
$this->response->addFormattedContent('group_update', ['$result' => $success], $this->parameters['extension'] ?? null);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue