From 44c4ec751dfba4aed13aae39aed8b54112011e32 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 16 Sep 2014 18:33:28 +0200 Subject: [PATCH] Deprecate monitoring module related methods in the `Util' view helper --- application/views/helpers/Util.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/application/views/helpers/Util.php b/application/views/helpers/Util.php index 25b209a36..ccc3e8e1c 100644 --- a/application/views/helpers/Util.php +++ b/application/views/helpers/Util.php @@ -64,6 +64,9 @@ class Zend_View_Helper_Util extends Zend_View_Helper_Abstract return date('H:i d.m.Y', $timestamp); } + /** + * @deprecated Not used. This is monitoring module stuff. + */ public static function getHostStateClassName($state) { $class = 'unknown'; @@ -82,6 +85,9 @@ class Zend_View_Helper_Util extends Zend_View_Helper_Abstract return $class; } + /** + * @deprecated Crap. This is monitoring module stuff. + */ public static function getHostStateName($state) { $states = array( @@ -98,6 +104,9 @@ class Zend_View_Helper_Util extends Zend_View_Helper_Abstract return sprintf('OUT OF BOUNDS (%s)', var_export($state, 1)); } + /** + * @deprecated Crap. This is monitoring module stuff. + */ public static function getServiceStateName($state) { if ($state === null) { $state = 3; } // really?