Add feedback

This commit is contained in:
Philipp 2021-11-18 21:25:09 +01:00
parent 14988ddf19
commit 04a0cd9301
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432
2 changed files with 4 additions and 8 deletions

View File

@ -35,11 +35,6 @@ use Friendica\Core\L10n;
*/ */
class Index extends BaseModule class Index extends BaseModule
{ {
public function __construct(L10n $l10n, array $parameters = [])
{
parent::__construct($l10n, $parameters);
}
public function rawContent() public function rawContent()
{ {
(new Profile($this->l10n, $this->parameters))->rawContent(); (new Profile($this->l10n, $this->parameters))->rawContent();

View File

@ -59,8 +59,7 @@ class RemoteFollow extends BaseModule
} }
$this->baseUrl = $baseUrl; $this->baseUrl = $baseUrl;
$this->page = $page;
$page['aside'] = Widget\VCard::getHTML($this->owner);
} }
public function post() public function post()
@ -112,7 +111,9 @@ class RemoteFollow extends BaseModule
if (empty($this->owner)) { if (empty($this->owner)) {
return ''; return '';
} }
$this->page['aside'] = Widget\VCard::getHTML($this->owner);
$target_addr = $this->owner['addr']; $target_addr = $this->owner['addr'];
$target_url = $this->owner['url']; $target_url = $this->owner['url'];