mirror of
https://github.com/friendica/friendica
synced 2024-11-10 18:01:42 +01:00
Fixup post
This commit is contained in:
parent
437472d0a6
commit
3554894577
|
@ -68,8 +68,6 @@ class Follow extends BaseModule
|
||||||
|
|
||||||
protected function post(array $request = [])
|
protected function post(array $request = [])
|
||||||
{
|
{
|
||||||
parent::post($request);
|
|
||||||
|
|
||||||
if (!$this->session->getLocalUserId()) {
|
if (!$this->session->getLocalUserId()) {
|
||||||
throw new ForbiddenException($this->t('Access denied.'));
|
throw new ForbiddenException($this->t('Access denied.'));
|
||||||
}
|
}
|
||||||
|
@ -79,6 +77,8 @@ class Follow extends BaseModule
|
||||||
}
|
}
|
||||||
|
|
||||||
$url = Probe::cleanURI($this->session->get('url'));
|
$url = Probe::cleanURI($this->session->get('url'));
|
||||||
|
|
||||||
|
$this->process($url);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function content(array $request = []): string
|
protected function content(array $request = []): string
|
||||||
|
|
Loading…
Reference in a new issue