]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/FContact.php
Issue 9231: Speed up full text search
[friendica.git] / src / Model / FContact.php
index 07e8af407554c0ebae6da7b10019bee7b95cd169..c4d6251c3b4d951618afa5d83594988c846eaf87 100644 (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);
                        }
                }