* @throws \Friendica\Network\HTTPException\InternalServerErrorException
* @throws \ImagickException
*/
- public static function getByUrl($handle, $update = null)
+ public static function getByURL($handle, $update = null)
{
$person = DBA::selectFirst('fcontact', [], ['network' => Protocol::DIASPORA, 'addr' => $handle]);
if (!DBA::isResult($person)) {
if ($r && ($r["network"] === Protocol::DIASPORA)) {
self::updateFContact($r);
- $person = self::getByUrl($handle, false);
+ $person = self::getByURL($handle, false);
}
}