]> git.mxchange.org Git - friendica.git/blobdiff - mod/hovercard.php
Revert "Move Objects to Model"
[friendica.git] / mod / hovercard.php
index 8ad5cd0ebe14b404cede665a96b96db0c059f246..5542fe5b9837738da8f93fec7b6d525b5c4ae746 100644 (file)
@@ -10,8 +10,8 @@
 
 use Friendica\App;
 use Friendica\Core\Config;
-use Friendica\Model\Contact;
-use Friendica\Model\GContact;
+use Friendica\Model\GlobalContact;
+use Friendica\Object\Contact;
 
 function hovercard_init(App $a) {
        // Just for testing purposes
@@ -47,7 +47,7 @@ function hovercard_content() {
        }
 
        // if it's the url containing https it should be converted to http
-       $nurl = normalise_link(GContact::cleanContactUrl($profileurl));
+       $nurl = normalise_link(GlobalContact::cleanContactUrl($profileurl));
        if($nurl) {
                // Search for contact data
                $contact = Contact::getDetailsByURL($nurl);