mirror of
https://github.com/friendica/friendica
synced 2024-12-22 17:20:16 +00:00
Issue 14325: Process "post" requests only once
This commit is contained in:
parent
aae004d3d2
commit
0b710ce4fb
1 changed files with 4 additions and 4 deletions
|
@ -224,17 +224,17 @@ abstract class BaseModule implements ICanHandleRequests
|
|||
switch ($this->args->getMethod()) {
|
||||
case Router::DELETE:
|
||||
$this->delete($request);
|
||||
break;
|
||||
return $this->response->generate();
|
||||
case Router::PATCH:
|
||||
$this->patch($request);
|
||||
break;
|
||||
return $this->response->generate();
|
||||
case Router::POST:
|
||||
Core\Hook::callAll($this->args->getModuleName() . '_mod_post', $request);
|
||||
$this->post($request);
|
||||
break;
|
||||
return $this->response->generate();
|
||||
case Router::PUT:
|
||||
$this->put($request);
|
||||
break;
|
||||
return $this->response->generate();
|
||||
}
|
||||
|
||||
$timestamp = microtime(true);
|
||||
|
|
Loading…
Reference in a new issue