Reworked "getIdForURL"

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

View file

@ -690,7 +690,7 @@ class Feed
}
$check_date = empty($last_update) ? '' : DateTimeFormat::utc($last_update);
$authorid = Contact::getIdForURL($owner["url"], 0, false);
$authorid = Contact::getIdForURL($owner["url"]);
$condition = ["`uid` = ? AND `received` > ? AND NOT `deleted` AND `gravity` IN (?, ?)
AND `private` != ? AND `visible` AND `wall` AND `parent-network` IN (?, ?, ?, ?)",