X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FRemoteFollow.php;h=130c76319c12b43c073d3fd7bcd9971a0f5e6825;hb=036b565a7846916f763ce1dcbcaade0844ff1589;hp=bc42998e30fb56a69335e79dc0c5308360fa1a8c;hpb=f00792d370cfbf1d52b37e3eed7e80e682df9d8a;p=friendica.git diff --git a/src/Module/RemoteFollow.php b/src/Module/RemoteFollow.php index bc42998e30..130c76319c 100644 --- a/src/Module/RemoteFollow.php +++ b/src/Module/RemoteFollow.php @@ -1,6 +1,6 @@ owner = User::getOwnerDataByNick($this->parameters['profile']); if (!$this->owner) { throw new HTTPException\NotFoundException($this->t('User not found.')); } - $this->baseUrl = $baseUrl; $this->page = $page; } - public function post() + protected function post(array $request = []) { if (!empty($_POST['cancel']) || empty($_POST['dfrn_url'])) { $this->baseUrl->redirect(); @@ -106,7 +105,7 @@ class RemoteFollow extends BaseModule System::externalRedirect($follow_link); } - public function content(): string + protected function content(array $request = []): string { if (empty($this->owner)) { return '';