mirror of
https://github.com/friendica/friendica
synced 2025-04-19 09:10:12 +00:00
Use rawContent for Special Options to avoid a protected options() method
This commit is contained in:
parent
35a2fd45af
commit
6dbbd08179
4 changed files with 3 additions and 23 deletions
|
@ -173,18 +173,6 @@ abstract class BaseModule implements ICanHandleRequests
|
|||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Module OPTIONS method to process submitted data
|
||||
*
|
||||
* Extend this method if the module is supposed to process OPTIONS requests.
|
||||
* Doesn't display any content
|
||||
*
|
||||
* @param string[] $request The $_REQUEST content
|
||||
*/
|
||||
protected function options(array $request = [])
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
|
@ -237,9 +225,6 @@ abstract class BaseModule implements ICanHandleRequests
|
|||
case Router::PUT:
|
||||
$this->put($request);
|
||||
break;
|
||||
case Router::OPTIONS:
|
||||
$this->options($request);
|
||||
break;
|
||||
}
|
||||
|
||||
$timestamp = microtime(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue