]> git.mxchange.org Git - friendica.git/blobdiff - mod/hovercard.php
normalise_link calls
[friendica.git] / mod / hovercard.php
index d35de1a7fa6856fa6cbf9472da0efd5ce3098c4c..f5ad3ef0219ab23d712ea09307e057c6abb5df31 100644 (file)
@@ -56,7 +56,7 @@ function hovercard_content()
 
        $contact = [];
        // if it's the url containing https it should be converted to http
-       $nurl = normalise_link(GContact::cleanContactUrl($profileurl));
+       $nurl = Strings::normaliseLink(GContact::cleanContactUrl($profileurl));
        if (!$nurl) {
                return;
        }
@@ -74,12 +74,12 @@ function hovercard_content()
 
        // Feeds url could have been destroyed through "cleanContactUrl", so we now use the original url
        if (!count($contact) && local_user()) {
-               $nurl = normalise_link($profileurl);
+               $nurl = Strings::normaliseLink($profileurl);
                $contact = Contact::getDetailsByURL($nurl, local_user());
        }
 
        if (!count($contact)) {
-               $nurl = normalise_link($profileurl);
+               $nurl = Strings::normaliseLink($profileurl);
                $contact = Contact::getDetailsByURL($nurl);
        }