From 04a0cd930182cb8f068327d7eb92ce372d45d564 Mon Sep 17 00:00:00 2001 From: Philipp Date: Thu, 18 Nov 2021 21:25:09 +0100 Subject: [PATCH] Add feedback --- src/Module/Profile/Index.php | 5 ----- src/Module/RemoteFollow.php | 7 ++++--- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/Module/Profile/Index.php b/src/Module/Profile/Index.php index 6eb772fdc..653eb2a19 100644 --- a/src/Module/Profile/Index.php +++ b/src/Module/Profile/Index.php @@ -35,11 +35,6 @@ use Friendica\Core\L10n; */ class Index extends BaseModule { - public function __construct(L10n $l10n, array $parameters = []) - { - parent::__construct($l10n, $parameters); - } - public function rawContent() { (new Profile($this->l10n, $this->parameters))->rawContent(); diff --git a/src/Module/RemoteFollow.php b/src/Module/RemoteFollow.php index 18f5bf775..171ea5530 100644 --- a/src/Module/RemoteFollow.php +++ b/src/Module/RemoteFollow.php @@ -59,8 +59,7 @@ class RemoteFollow extends BaseModule } $this->baseUrl = $baseUrl; - - $page['aside'] = Widget\VCard::getHTML($this->owner); + $this->page = $page; } public function post() @@ -112,7 +111,9 @@ class RemoteFollow extends BaseModule if (empty($this->owner)) { return ''; } - + + $this->page['aside'] = Widget\VCard::getHTML($this->owner); + $target_addr = $this->owner['addr']; $target_url = $this->owner['url'];