From b25db622aa67664942c2d4ebff284255570264d4 Mon Sep 17 00:00:00 2001 From: robert Date: Fri, 6 May 2005 13:02:48 +0000 Subject: [PATCH] comment out debug lines for production use again --- include/classes/rrdstat.php-class | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 .= '

'; } } -- 2.43.0