Use display name in alerts (#13650)

* Use display name in alerts

* remove error from baseline
This commit is contained in:
Tony Murray
2022-01-04 17:40:42 -06:00
committed by GitHub
parent 785b0bae53
commit 3c0831c821
4 changed files with 30 additions and 50 deletions

View File

@@ -532,23 +532,6 @@ function object_is_cached($section, $obj)
}
} // object_is_cached
/**
* Checks if config allows us to ping this device
* $attribs contains an array of all of this devices
* attributes
*
* @param array $attribs Device attributes
* @return bool
**/
function can_ping_device($attribs)
{
if (Config::get('icmp_check') && ! (isset($attribs['override_icmp_disable']) && $attribs['override_icmp_disable'] == 'true')) {
return true;
} else {
return false;
}
} // end can_ping_device
function search_phrase_column($c)
{
global $searchPhrase;