From: Sverre B. <sv...@us...> - 2005-10-12 11:56:06
|
Update of /cvsroot/archive-access/archive-access/projects/wera/src/webapps/wera/lib/seal In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18934/lib/seal Modified Files: nutch.inc Log Message: Removed debug output because of bug 1324757. Debug output should be produced in the calling scripts instead. Index: nutch.inc =================================================================== RCS file: /cvsroot/archive-access/archive-access/projects/wera/src/webapps/wera/lib/seal/nutch.inc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** nutch.inc 6 Oct 2005 19:18:42 -0000 1.5 --- nutch.inc 12 Oct 2005 11:55:56 -0000 1.6 *************** *** 177,184 **** } - if ($this->debug == 1) { - print $this->queryurl; - } - if ($this->isReady()) { $this->hitno = $this->offset; --- 177,180 ---- *************** *** 190,194 **** if ($data) { if (!xml_parse($this->xml_parser, $data)) { - #die(sprintf("XML error: %s at line %d", xml_error_string(xml_get_error_code($this->xml_parser)), xml_get_current_line_number($this->xml_parser))); $retval = false; $this->errormsg = sprintf("XML error: %s at line %d", xml_error_string(xml_get_error_code($this->xml_parser)), xml_get_current_line_number($this->xml_parser)); --- 186,189 ---- *************** *** 208,217 **** $this->timespent = (microtime_float() - $time_start); - if ($this->debug == 1) { - print "\n<!--"; - print $this->queryurl; - print_r($this->resultset); - print "-->\n"; - } } } --- 203,206 ---- |