Renamed function

This commit is contained in:
Michael 2020-08-06 10:31:05 +00:00
parent d4f7bfa676
commit 2cbc935944
4 changed files with 17 additions and 17 deletions

View file

@ -40,7 +40,7 @@ class FContact
* @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)) {
@ -77,7 +77,7 @@ class FContact
if ($r && ($r["network"] === Protocol::DIASPORA)) {
self::updateFContact($r);
$person = self::getByUrl($handle, false);
$person = self::getByURL($handle, false);
}
}