Remove all unneeded if($debug)-statements and replace them with d_echo . discovery dir..

This commit is contained in:
Mark Schouten
2015-08-20 15:59:43 +02:00
parent 4fa88bb928
commit 677a4f3f5f
89 changed files with 192 additions and 561 deletions
+1 -3
View File
@@ -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)) {