Replaced "getDetailsByURL" with "getByURL/getByURLForUser"

This commit is contained in:
Michael 2020-07-15 04:42:04 +00:00
parent 869f3cfec4
commit d9c6a46ffe
29 changed files with 78 additions and 285 deletions

View file

@ -350,7 +350,7 @@ class Acl extends BaseModule
continue;
}
$contact = Contact::getDetailsByURL($author);
$contact = Contact::getByURL($author, 0, ['micro', 'name', 'id', 'network', 'nick', 'addr', 'url', 'forum'], false);
if (count($contact) > 0) {
$unknown_contacts[] = [