From 26be35d4476d1d5f0001cb44c1ffa1e9ba5f07bb Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 21 Aug 2013 00:50:15 +0200 Subject: [PATCH] Reverting change, this breaks things. No chance to redirect after rendering. --- .../application/controllers/ShowController.php | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/modules/monitoring/application/controllers/ShowController.php b/modules/monitoring/application/controllers/ShowController.php index 3c8ccbc74..9152ab737 100644 --- a/modules/monitoring/application/controllers/ShowController.php +++ b/modules/monitoring/application/controllers/ShowController.php @@ -1,5 +1,4 @@ view->object; - if ($grapher->hasGraph( - $object->host_name, - $object->service_description - )) { - $this->view->preview_image = $grapher->getPreviewImage( - $object->host_name, - $object->service_description - ); - } - } - } /** * Creating tabs for this controller * @return \Icinga\Web\Widget\AbstractWidget @@ -444,5 +429,4 @@ class Monitoring_ShowController extends ActionController } } - // @codingStandardsIgnoreEnd