From 7dccd079a3fdd512970a4af0722c3d8a9cd2ffd3 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 11 Oct 2019 15:48:53 +0200 Subject: [PATCH] ServiceController: Don't fetch volatile states --- application/controllers/ServiceController.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/application/controllers/ServiceController.php b/application/controllers/ServiceController.php index 4f2408e0..ff552128 100644 --- a/application/controllers/ServiceController.php +++ b/application/controllers/ServiceController.php @@ -5,7 +5,6 @@ namespace Icinga\Module\Eagle\Controllers; use Icinga\Exception\NotFoundError; use Icinga\Module\Eagle\Common\CommandActions; use Icinga\Module\Eagle\Model\Service; -use Icinga\Module\Eagle\Redis\VolatileState; use Icinga\Module\Eagle\Web\Controller; use Icinga\Module\Eagle\Widget\ServiceListItem; @@ -36,10 +35,6 @@ class ServiceController extends Controller throw new NotFoundError($this->translate('Service not found')); } - $volatileState = new VolatileState($this->getRedis()); - $volatileState->add($service); - $volatileState->fetch(); - $this->service = $service; }