]> git.mxchange.org Git - friendica.git/blobdiff - mod/follow.php
Markdown formatting and minor changes
[friendica.git] / mod / follow.php
index b3a503ec06c31ba21d0d8881bffb492d614ded56..b5e73ca9a44676be10b9f46d4c820ca4a14891ea 100644 (file)
@@ -7,7 +7,6 @@ use Friendica\Network\Probe;
 use Friendica\Object\Contact;
 
 require_once 'include/follow.php';
-require_once 'include/Contact.php';
 require_once 'include/contact_selectors.php';
 
 function follow_post(App $a) {
@@ -177,7 +176,7 @@ function follow_content(App $a) {
        ));
 
        $a->page['aside'] = "";
-       profile_load($a, "", 0, get_contact_details_by_url($ret["url"]));
+       profile_load($a, "", 0, Contact::getDetailsByURL($ret["url"]));
 
        if ($gcontact_id <> 0) {
                $o .= replace_macros(get_markup_template('section_title.tpl'),
@@ -185,7 +184,7 @@ function follow_content(App $a) {
                ));
 
                // Show last public posts
-               $o .= posts_from_contact_url($a, $ret["url"]);
+               $o .= Contact::getPostsFromUrl($ret["url"]);
        }
 
        return $o;