]> git.mxchange.org Git - friendica.git/blobdiff - mod/unfollow.php
Merge pull request #9101 from annando/signed-outbox
[friendica.git] / mod / unfollow.php
index 370f13d876b223d21a8d25a686e0b3ebde4e1967..5ccc9c859af35382b5923dfa786cb8f2cf12a665 100644 (file)
@@ -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')]);