X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Funfollow.php;h=5ccc9c859af35382b5923dfa786cb8f2cf12a665;hb=a54675b5971703c7ee4589d0dad74518cda9a760;hp=91097fb98f226187d43292d1feca4fe2157fdd30;hpb=2eebeeaa329584244e414eaa41fc6ac9ed3e1cac;p=friendica.git diff --git a/mod/unfollow.php b/mod/unfollow.php index 91097fb98f..5ccc9c859a 100644 --- a/mod/unfollow.php +++ b/mod/unfollow.php @@ -1,6 +1,22 @@ . + * */ use Friendica\App; @@ -63,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 } @@ -130,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')]);