IcingaObjectHandler: correctly name methods

fixes #1373
This commit is contained in:
Thomas Gelf 2018-02-25 17:39:51 +01:00
parent 29baa3698e
commit 3da917a400
1 changed files with 3 additions and 3 deletions

View File

@ -72,10 +72,10 @@ class IcingaObjectHandler extends RequestHandler
return $this->request->getControllerName();
}
protected function handleApiRequest()
protected function processApiRequest()
{
try {
$this->processApiRequest();
$this->handleApiRequest();
} catch (NotFoundError $e) {
$this->sendJsonError($e, 404);
return;
@ -91,7 +91,7 @@ class IcingaObjectHandler extends RequestHandler
}
}
protected function processApiRequest()
protected function handleApiRequest()
{
$request = $this->request;
$response = $this->response;