From: robert Date: Fri, 6 May 2005 13:02:48 +0000 (+0000) Subject: comment out debug lines for production use again X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=b25db622aa67664942c2d4ebff284255570264d4;p=php-utility-classes.git comment out debug lines for production use again --- diff --git a/include/classes/rrdstat.php-class b/include/classes/rrdstat.php-class index 0709315..6888729 100644 --- a/include/classes/rrdstat.php-class +++ b/include/classes/rrdstat.php-class @@ -359,7 +359,7 @@ class rrdstat { if (strpos($return, 'ERROR') !== false) { trigger_error('rrd graph error: '.$return, E_USER_WARNING); - $return = $graph_cmd."\n\n".$return; +// $return = $graph_cmd."\n\n".$return; } return $return; } @@ -382,7 +382,7 @@ class rrdstat { if (in_array($this->status, array('ok','readonly'))) { foreach (array('day','week','month','year') as $tframe) { $ret = $this->graph($tframe, null, $graph_extras); - $out .= '

'.nl2br($ret).'

'; +// $out .= '

'.nl2br($ret).'

'; $out .= '

'; } }