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

This commit is contained in:
Mark Schouten
2015-08-20 15:02:40 +02:00
parent e0edeab13f
commit 55a2e0423d
24 changed files with 47 additions and 142 deletions

View File

@@ -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(