mirror of
https://github.com/friendica/friendica
synced 2025-04-24 13:50:10 +00:00
Remove parameter-less call of OStatus\Salmon module in DFRN\Notify
- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1342615279
This commit is contained in:
parent
a71fb8d7f3
commit
71a7f2d503
2 changed files with 7 additions and 16 deletions
|
@ -70,18 +70,8 @@ class Notify extends BaseModule
|
|||
throw new \Friendica\Network\HTTPException\InternalServerErrorException();
|
||||
}
|
||||
$this->dispatchPrivate($user, $postdata);
|
||||
} elseif (!$this->dispatchPublic($postdata)) {
|
||||
(new Salmon(
|
||||
$this->database,
|
||||
$this->l10n,
|
||||
$this->baseUrl,
|
||||
$this->args,
|
||||
$this->logger,
|
||||
$this->profiler,
|
||||
$this->response,
|
||||
$this->server,
|
||||
$this->parameters
|
||||
))->rawContent($request);
|
||||
} else {
|
||||
$this->dispatchPublic($postdata);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue