]> git.mxchange.org Git - friendica.git/blobdiff - mod/display.php
Merge pull request #5862 from nupplaphil/rename_App_Methods
[friendica.git] / mod / display.php
index 25bda99d013881eeacd20ecf08a1f4e3ddefa3f4..a03b918372efd61636961fbbf488f486aec18ddc 100644 (file)
@@ -78,7 +78,7 @@ function display_init(App $a)
        }
 
        if (ActivityPub::isRequest()) {
-               goaway(str_replace('display/', 'object/', $a->query_string));
+               goaway(str_replace('display/', 'objects/', $a->query_string));
        }
 
        if ($item["id"] != $item["parent"]) {
@@ -365,7 +365,7 @@ function display_content(App $a, $update = false, $update_uid = 0)
        $title = trim(HTML::toPlaintext(BBCode::convert($item["title"], false), 0, true));
        $author_name = $item["author-name"];
 
-       $image = $a->remove_baseurl($item["author-avatar"]);
+       $image = $a->removeBaseURL($item["author-avatar"]);
 
        if ($title == "") {
                $title = $author_name;