mirror of
https://github.com/friendica/friendica
synced 2025-03-31 12:40:18 +00:00
Fix more standards
This commit is contained in:
parent
2367f54d41
commit
c643eb8cb2
1 changed files with 5 additions and 2 deletions
|
@ -325,7 +325,10 @@ class ClientToServer
|
||||||
*/
|
*/
|
||||||
public static function getOutbox(array $owner, int $uid, int $page = null, int $max_id = null, string $requester = ''): array
|
public static function getOutbox(array $owner, int $uid, int $page = null, int $max_id = null, string $requester = ''): array
|
||||||
{
|
{
|
||||||
$condition = ['gravity' => [Item::GRAVITY_PARENT, Item::GRAVITY_COMMENT], 'private' => [Item::PUBLIC, Item::UNLISTED]];
|
$condition = [
|
||||||
|
'gravity' => [Item::GRAVITY_PARENT, Item::GRAVITY_COMMENT],
|
||||||
|
'private' => [Item::PUBLIC, Item::UNLISTED]
|
||||||
|
];
|
||||||
|
|
||||||
if (!empty($requester)) {
|
if (!empty($requester)) {
|
||||||
$requester_id = Contact::getIdForURL($requester, $owner['uid']);
|
$requester_id = Contact::getIdForURL($requester, $owner['uid']);
|
||||||
|
|
Loading…
Add table
Reference in a new issue