mirror of
https://github.com/friendica/friendica
synced 2024-12-23 03:20:15 +00:00
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
1d86d79778
commit
e1ac33576a
1 changed files with 2 additions and 2 deletions
|
@ -2056,7 +2056,7 @@ function api_statuses_repeat($type)
|
|||
$id = intval(DI::args()->getArgv()[4] ?? 0);
|
||||
}
|
||||
|
||||
logger::notice('API: api_statuses_repeat: '.$id);
|
||||
logger::notice('API: api_statuses_repeat: ' . $id);
|
||||
|
||||
$fields = ['uri-id', 'network', 'body', 'title', 'author-name', 'author-link', 'author-avatar', 'guid', 'created', 'plink'];
|
||||
$item = Post::selectFirst($fields, ['id' => $id, 'private' => [Item::PUBLIC, Item::UNLISTED]]);
|
||||
|
@ -2139,7 +2139,7 @@ function api_statuses_destroy($type)
|
|||
$id = intval(DI::args()->getArgv()[4] ?? 0);
|
||||
}
|
||||
|
||||
logger::notice('API: api_statuses_destroy: '.$id);
|
||||
logger::notice('API: api_statuses_destroy: ' . $id);
|
||||
|
||||
$ret = api_statuses_show($type);
|
||||
|
||||
|
|
Loading…
Reference in a new issue