X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Funfollow.php;h=5ccc9c859af35382b5923dfa786cb8f2cf12a665;hb=a7d75702cc43b13b6100d993df6d8d409e5e2351;hp=c754b384d33f20ba76a3ab680cc82c3ca0bfa218;hpb=0e05ff68686270d87447c570e28543a5bcc7e755;p=friendica.git diff --git a/mod/unfollow.php b/mod/unfollow.php index c754b384d3..5ccc9c859a 100644 --- a/mod/unfollow.php +++ b/mod/unfollow.php @@ -79,7 +79,6 @@ function unfollow_post(App $a) $return_path = $base_return_path . '/' . $contact['id']; } - info(DI::l10n()->t('Contact unfollowed')); DI::baseUrl()->redirect($return_path); // NOTREACHED } @@ -146,7 +145,7 @@ function unfollow_content(App $a) ]); DI::page()['aside'] = ''; - Profile::load($a, '', Contact::getDetailsByURL($contact['url'])); + Profile::load($a, '', Contact::getByURL($contact['url'], false)); $o .= Renderer::replaceMacros(Renderer::getMarkupTemplate('section_title.tpl'), ['$title' => DI::l10n()->t('Status Messages and Posts')]);