mirror of
https://github.com/friendica/friendica
synced 2025-04-27 03:50:11 +00:00
Renamed function
This commit is contained in:
parent
d4f7bfa676
commit
2cbc935944
4 changed files with 17 additions and 17 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue