X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofile.php;h=aa284d1669a0184a1e6fdf05c84074d76e02ce46;hb=7f143c3159615b4a10539447bcf250a5fca793a5;hp=5b306b20fb03ad1f92dc4df09b2cb53718b269e5;hpb=78a7e130ae7f5e5bca1fa51a49000ae3ef7a16f5;p=friendica.git
diff --git a/mod/profile.php b/mod/profile.php
index 5b306b20fb..aa284d1669 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -91,7 +91,7 @@ function profile_init(App $a)
$a->page['htmlhead'] .= '' . "\r\n";
$a->page['htmlhead'] .= '' . "\r\n";
$a->page['htmlhead'] .= '' . "\r\n";
- $uri = urlencode('acct:' . $a->profile['nickname'] . '@' . $a->get_hostname() . ($a->urlpath ? '/' . $a->urlpath : ''));
+ $uri = urlencode('acct:' . $a->profile['nickname'] . '@' . $a->getHostName() . ($a->getURLPath() ? '/' . $a->getURLPath() : ''));
$a->page['htmlhead'] .= '' . "\r\n";
header('Link: <' . System::baseUrl() . '/xrd/?uri=' . $uri . '>; rel="lrdd"; type="application/xrd+xml"', false);
@@ -307,7 +307,7 @@ function profile_content(App $a, $update = 0)
$itemspage_network = $a->force_max_items;
}
- $a->set_pager_itemspage($itemspage_network);
+ $a->setPagerItemsPage($itemspage_network);
$pager_sql = sprintf(" LIMIT %d, %d ", intval($a->pager['start']), intval($a->pager['itemspage']));