Commits

Andrew Weaver committed 281b0c5

Removed debug code

Comments (0)

Files changed (1)

pi.ajw_feedparser.php

 	 */
 	function _curl_fetch($url) {
 
-		$this->return_data .= "<p>Using curl to fetch file</p>";
+		if ( $this->debug ) { $this->return_data .= "<p>Using curl to fetch file</p>"; }
 
 		$ch = curl_init(); 
 		curl_setopt($ch, CURLOPT_URL, $url);