X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffollow.php;h=86f72671269184f062ba79af6716c38440381770;hb=25f0f0c4396ece49634be517b92d638ef9c73505;hp=a1b9dba22f6e49cdfd846417098073407f96d37f;hpb=0668b2dfd57a1b246d179c13978a14308b6b23ef;p=friendica.git diff --git a/mod/follow.php b/mod/follow.php index a1b9dba22f..86f7267126 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -1,6 +1,6 @@ t('Permission denied.')); @@ -139,9 +135,6 @@ function follow_content(App $a) $myaddr = $owner['url']; - // Makes the connection request for friendica contacts easier - $_SESSION['fastlane'] = $contact['url']; - $o = Renderer::replaceMacros($tpl, [ '$header' => DI::l10n()->t('Connect/Follow'), '$pls_answer' => DI::l10n()->t('Please answer the following:'), @@ -165,7 +158,7 @@ function follow_content(App $a) DI::page()['aside'] = ''; if ($protocol != Protocol::PHANTOM) { - Profile::load($a, '', $contact, false); + DI::page()['aside'] = Widget\VCard::getHTML(Contact::getByURL($contact['url'], false)); $o .= Renderer::replaceMacros(Renderer::getMarkupTemplate('section_title.tpl'), ['$title' => DI::l10n()->t('Status Messages and Posts')] @@ -182,10 +175,6 @@ function follow_process(App $a, string $url) { $return_path = 'follow?url=' . urlencode($url); - // Makes the connection request for friendica contacts easier - // This is just a precaution if maybe this page is called somewhere directly via POST - $_SESSION['fastlane'] = $url; - $result = Contact::createFromProbe($a->user, $url, true); if ($result['success'] == false) {