From f4f50fde3c529c3799fbf236d6ced90e22a9e077 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 22 Jan 2015 14:12:02 +0100 Subject: [PATCH] monitoring: Remove _RenderServicePerfdata view helper This helper is not used anywhere. --- .../views/helpers/_RenderServicePerfdata.php | 25 ------------------- 1 file changed, 25 deletions(-) delete mode 100644 modules/monitoring/application/views/helpers/_RenderServicePerfdata.php diff --git a/modules/monitoring/application/views/helpers/_RenderServicePerfdata.php b/modules/monitoring/application/views/helpers/_RenderServicePerfdata.php deleted file mode 100644 index d7612ac30..000000000 --- a/modules/monitoring/application/views/helpers/_RenderServicePerfdata.php +++ /dev/null @@ -1,25 +0,0 @@ - array("self::renderDiskPie") - ); - - public function renderServicePerfdata($service) - { - if (isset(self::$RENDERMAP[$service->check_command])) { - $fn = self::$RENDERMAP[$service->check_command]; - $fn($service); - } - } - - public static function renderDiskPie($service) { - $perfdata = $service->performance_data; - if(!$perfdata) - return ""; - - } -}