mirror of
https://github.com/friendica/friendica
synced 2025-01-10 16:44:42 +00:00
Revert "Issue 14325: Process "post" requests only once"
This reverts commit 0b710ce4fb
.
This commit is contained in:
parent
f6afc5a2bb
commit
ef9c2cb223
1 changed files with 4 additions and 4 deletions
|
@ -223,17 +223,17 @@ abstract class BaseModule implements ICanHandleRequests
|
|||
switch ($this->args->getMethod()) {
|
||||
case Router::DELETE:
|
||||
$this->delete($request);
|
||||
return $this->response->generate();
|
||||
break;
|
||||
case Router::PATCH:
|
||||
$this->patch($request);
|
||||
return $this->response->generate();
|
||||
break;
|
||||
case Router::POST:
|
||||
Core\Hook::callAll($this->args->getModuleName() . '_mod_post', $request);
|
||||
$this->post($request);
|
||||
return $this->response->generate();
|
||||
break;
|
||||
case Router::PUT:
|
||||
$this->put($request);
|
||||
return $this->response->generate();
|
||||
break;
|
||||
case Router::GET:
|
||||
$this->get($request);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue