From 3da917a400fb2319091e86c46d9cd461c5e35840 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Sun, 25 Feb 2018 17:39:51 +0100 Subject: [PATCH] IcingaObjectHandler: correctly name methods fixes #1373 --- library/Director/RestApi/IcingaObjectHandler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/Director/RestApi/IcingaObjectHandler.php b/library/Director/RestApi/IcingaObjectHandler.php index 902d7cd3..5785aa8f 100644 --- a/library/Director/RestApi/IcingaObjectHandler.php +++ b/library/Director/RestApi/IcingaObjectHandler.php @@ -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;