Get rid of the debug for now, it breaks functions that return json.

This commit is contained in:
james 2010-02-24 01:24:13 +00:00
parent cf19eacd43
commit ab60a0f389

View File

@ -86,7 +86,7 @@
break;
}
debug_("Curl Send: (type:{$fair['type']}=>$url) $str");
// debug_("Curl Send: (type:{$fair['type']}=>$url) $str");
$ch = curl_init(); /// initialize a cURL session
curl_setopt ($ch, CURLOPT_URL, $url);
@ -101,7 +101,7 @@
$datastream = curl_exec ($ch); /// execute the curl session and return the output to a variable $datastream
curl_close ($ch); /// close the curl session
debug_("Server Returned: ".urldecode($datastream));
// debug_("Server Returned: ".urldecode($datastream));
switch($fair['type']) {
case 'sfiab':
@ -145,7 +145,7 @@
}
break;
}
debug_("Returning: ".print_r($ret, true));
//n debug_("Returning: ".print_r($ret, true));
return $ret;
}
?>