Revert "Issue 14325: Process "post" requests only once"

This reverts commit 0b710ce4fb.
This commit is contained in:
Hypolite Petovan 2025-01-04 21:42:18 -05:00
parent f6afc5a2bb
commit ef9c2cb223

View file

@ -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;