1
0
Fork 0

Reworked "getIdForURL"

This commit is contained in:
Michael 2020-08-07 13:49:59 +00:00
commit 7b13b7e9c8
8 changed files with 84 additions and 195 deletions

View file

@ -150,7 +150,7 @@ class Transmitter
*/
public static function getOutbox($owner, $page = null)
{
$public_contact = Contact::getIdForURL($owner['url'], 0, false);
$public_contact = Contact::getIdForURL($owner['url']);
$condition = ['uid' => 0, 'contact-id' => $public_contact, 'author-id' => $public_contact,
'private' => [Item::PUBLIC, Item::UNLISTED], 'gravity' => [GRAVITY_PARENT, GRAVITY_COMMENT],