mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Remove all unneeded if($debug)-statements and replace them with d_echo . discovery dir..
This commit is contained in:
@@ -4,9 +4,7 @@ echo 'Cisco CEF Switching Path: ';
|
||||
|
||||
$cefs = array();
|
||||
$cefs = snmpwalk_cache_threepart_oid($device, 'CISCO-CEF-MIB::cefSwitchingPath', $cefs);
|
||||
if ($debug) {
|
||||
print_r($cefs);
|
||||
}
|
||||
d_echo($cefs);
|
||||
|
||||
if (is_array($cefs)) {
|
||||
if (!is_array($entity_array)) {
|
||||
|
||||
Reference in New Issue
Block a user