mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 00:24:21 +02:00
Remove all unneeded if($debug)-statements and replace them with d_echo
This commit is contained in:
@@ -2,9 +2,7 @@
|
||||
|
||||
if (!is_array($storage_cache['netapp-storage'])) {
|
||||
$storage_cache['netapp-storage'] = snmpwalk_cache_oid($device, 'dfEntry', null, 'NETAPP-MIB');
|
||||
if ($debug) {
|
||||
print_r($storage_cache);
|
||||
}
|
||||
d_echo($storage_cache);
|
||||
}
|
||||
|
||||
$entry = $storage_cache['netapp-storage'][$storage[storage_index]];
|
||||
|
||||
Reference in New Issue
Block a user