mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 09:04:26 +02:00
White spaces
This commit is contained in:
parent
0e15715088
commit
dc48f9b8f0
6 changed files with 19 additions and 18 deletions
|
@ -36,7 +36,7 @@ class Show extends BaseApi
|
|||
{
|
||||
BaseApi::checkAllowedScope(BaseApi::SCOPE_READ);
|
||||
$uid = BaseApi::getCurrentUserID();
|
||||
$type = $this->getRequestValue($this->parameters, 'extension', 'json');
|
||||
$type = $this->getRequestValue($this->parameters, 'extension', 'json');
|
||||
|
||||
// params
|
||||
$gid = $this->getRequestValue($request, 'gid', 0);
|
||||
|
|
|
@ -54,7 +54,7 @@ class Create extends BaseApi
|
|||
$uid = BaseApi::getCurrentUserID();
|
||||
$type = $this->getRequestValue($this->parameters, 'extension', 'json');
|
||||
|
||||
// input params
|
||||
// input params
|
||||
$desc = $this->getRequestValue($request, 'desc');
|
||||
$album = $this->getRequestValue($request, 'album');
|
||||
$allow_cid = $this->getRequestValue($request, 'allow_cid');
|
||||
|
|
|
@ -96,22 +96,22 @@ class Update extends BaseApi
|
|||
}
|
||||
|
||||
if (!is_null($allow_cid)) {
|
||||
$allow_cid = trim($allow_cid);
|
||||
$allow_cid = trim($allow_cid);
|
||||
$updated_fields['allow_cid'] = $allow_cid;
|
||||
}
|
||||
|
||||
if (!is_null($deny_cid)) {
|
||||
$deny_cid = trim($deny_cid);
|
||||
$deny_cid = trim($deny_cid);
|
||||
$updated_fields['deny_cid'] = $deny_cid;
|
||||
}
|
||||
|
||||
if (!is_null($allow_gid)) {
|
||||
$allow_gid = trim($allow_gid);
|
||||
$allow_gid = trim($allow_gid);
|
||||
$updated_fields['allow_gid'] = $allow_gid;
|
||||
}
|
||||
|
||||
if (!is_null($deny_gid)) {
|
||||
$deny_gid = trim($deny_gid);
|
||||
$deny_gid = trim($deny_gid);
|
||||
$updated_fields['deny_gid'] = $deny_gid;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue