parent
29baa3698e
commit
3da917a400
|
@ -72,10 +72,10 @@ class IcingaObjectHandler extends RequestHandler
|
||||||
return $this->request->getControllerName();
|
return $this->request->getControllerName();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function handleApiRequest()
|
protected function processApiRequest()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$this->processApiRequest();
|
$this->handleApiRequest();
|
||||||
} catch (NotFoundError $e) {
|
} catch (NotFoundError $e) {
|
||||||
$this->sendJsonError($e, 404);
|
$this->sendJsonError($e, 404);
|
||||||
return;
|
return;
|
||||||
|
@ -91,7 +91,7 @@ class IcingaObjectHandler extends RequestHandler
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function processApiRequest()
|
protected function handleApiRequest()
|
||||||
{
|
{
|
||||||
$request = $this->request;
|
$request = $this->request;
|
||||||
$response = $this->response;
|
$response = $this->response;
|
||||||
|
|
Loading…
Reference in New Issue