[Koha-patches] [PATCH] Bug 4511 (Clear some debug warnings from logfile)

Marcel de Rooy m.de.rooy at rijksmuseum.nl
Mon May 17 12:37:29 CEST 2010


---
 C4/Search.pm |    2 +-
 C4/XSLT.pm   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/C4/Search.pm b/C4/Search.pm
index 3f4ee15..a17172c 100644
--- a/C4/Search.pm
+++ b/C4/Search.pm
@@ -447,7 +447,7 @@ sub getRecords {
                     # not an index scan
                     else {
                         $record = $results[ $i - 1 ]->record($j)->raw();
-            		warn $results[$i-1]->record($j)->render() ;
+			#warn $results[$i-1]->record($j)->render(); #MR
 
                         # warn "RECORD $j:".$record;
                         $results_hash->{'RECORDS'}[$j] = $record;
diff --git a/C4/XSLT.pm b/C4/XSLT.pm
index 0cfabe2..d0fa5cf 100644
--- a/C4/XSLT.pm
+++ b/C4/XSLT.pm
@@ -164,7 +164,7 @@ sub XSLTParse4Display {
         }
         else {
             use Cwd;
-            warn getcwd;
+            #warn getcwd; #MR 030510
             $style_doc = $parser->parse_file($xslfilename);
         }
         $stylesheet->{$xslfilename} = $xslt->parse_stylesheet($style_doc);
-- 
1.6.0.6




More information about the Koha-patches mailing list