mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Remove all unneeded if($debug)-statements and replace them with d_echo
This commit is contained in:
@@ -32,9 +32,7 @@ if ($device['os'] == 'ios') {
|
||||
|
||||
$rrd = $config['rrd_dir'].'/'.$device['hostname'].'/'.safename('c6kxbar-'.$index.'-'.$subindex.'.rrd');
|
||||
|
||||
if ($debug) {
|
||||
echo "$rrd ";
|
||||
}
|
||||
d_echo("$rrd ");
|
||||
|
||||
if (!is_file($rrd)) {
|
||||
rrdtool_create(
|
||||
|
||||
Reference in New Issue
Block a user