diff --git a/lib/RainGaugeModel.php b/lib/RainGaugeModel.php index 5ddfa80..a4b358a 100644 --- a/lib/RainGaugeModel.php +++ b/lib/RainGaugeModel.php @@ -429,7 +429,7 @@ public function search_sample($hostname, $sample, $pattern, $file, $context) { $context = ''; } $cmd = "grep -h -ri {$context} \"" . addslashes($pattern) . "\" {$file}"; - print $cmd . "\n"; + //print $cmd . "\n"; $output = array(); exec($cmd, $output); return $output; @@ -461,10 +461,10 @@ public function get_server_list() { * @return type */ public function get_type($name) { - print "$name
\n"; + //print "$name
\n"; return substr($name, 20); } } -?> \ No newline at end of file +?>