X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Funfollow.php;h=5ccc9c859af35382b5923dfa786cb8f2cf12a665;hb=a54675b5971703c7ee4589d0dad74518cda9a760;hp=370f13d876b223d21a8d25a686e0b3ebde4e1967;hpb=d9c6a46ffee7f0544a8da195243f524623ddc107;p=friendica.git diff --git a/mod/unfollow.php b/mod/unfollow.php index 370f13d876..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::getByURL($contact['url'], 0, [], false)); + Profile::load($a, '', Contact::getByURL($contact['url'], false)); $o .= Renderer::replaceMacros(Renderer::getMarkupTemplate('section_title.tpl'), ['$title' => DI::l10n()->t('Status Messages and Posts')]);