X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=e71c726952c582f5c24aefad147763b4bb3e6184;hb=10ede7314136edb1c475e1af546a59ff4c5648cf;hp=a6c4b6e5680219e549e0391048b0190c8d2b7634;hpb=42c2e09382d3b2846a0cb709d88cda97e717424f;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index a6c4b6e568..e71c726952 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -1,9 +1,12 @@ local_user(), 'gcid' => $_GET['ignore'])); } } @@ -49,7 +49,7 @@ function suggest_init(App &$a) { -function suggest_content(App &$a) { +function suggest_content(App $a) { require_once("mod/proxy.php"); @@ -59,7 +59,7 @@ function suggest_content(App &$a) { return; } - $_SESSION['return_url'] = App::get_baseurl() . '/' . $a->cmd; + $_SESSION['return_url'] = System::baseUrl() . '/' . $a->cmd; $a->page['aside'] .= findpeople_widget(); $a->page['aside'] .= follow_widget(); @@ -76,8 +76,8 @@ function suggest_content(App &$a) { foreach ($r as $rr) { - $connlnk = App::get_baseurl() . '/follow/?url=' . (($rr['connect']) ? $rr['connect'] : $rr['url']); - $ignlnk = App::get_baseurl() . '/suggest?ignore=' . $rr['id']; + $connlnk = System::baseUrl() . '/follow/?url=' . (($rr['connect']) ? $rr['connect'] : $rr['url']); + $ignlnk = System::baseUrl() . '/suggest?ignore=' . $rr['id']; $photo_menu = array( 'profile' => array(t("View Profile"), zrl($rr["url"])), 'follow' => array(t("Connect/Follow"), $connlnk),