Deprecate monitoring module related methods in the `Util' view helper
This commit is contained in:
parent
0a81aeefa2
commit
44c4ec751d
|
@ -64,6 +64,9 @@ class Zend_View_Helper_Util extends Zend_View_Helper_Abstract
|
||||||
return date('H:i d.m.Y', $timestamp);
|
return date('H:i d.m.Y', $timestamp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Not used. This is monitoring module stuff.
|
||||||
|
*/
|
||||||
public static function getHostStateClassName($state)
|
public static function getHostStateClassName($state)
|
||||||
{
|
{
|
||||||
$class = 'unknown';
|
$class = 'unknown';
|
||||||
|
@ -82,6 +85,9 @@ class Zend_View_Helper_Util extends Zend_View_Helper_Abstract
|
||||||
return $class;
|
return $class;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Crap. This is monitoring module stuff.
|
||||||
|
*/
|
||||||
public static function getHostStateName($state)
|
public static function getHostStateName($state)
|
||||||
{
|
{
|
||||||
$states = array(
|
$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));
|
return sprintf('OUT OF BOUNDS (%s)', var_export($state, 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Crap. This is monitoring module stuff.
|
||||||
|
*/
|
||||||
public static function getServiceStateName($state)
|
public static function getServiceStateName($state)
|
||||||
{
|
{
|
||||||
if ($state === null) { $state = 3; } // really?
|
if ($state === null) { $state = 3; } // really?
|
||||||
|
|
Loading…
Reference in New Issue