Index: client/pifr_client.xmlrpc.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/project_issue_file_review/client/pifr_client.xmlrpc.inc,v retrieving revision 1.5 diff -u -r1.5 pifr_client.xmlrpc.inc --- client/pifr_client.xmlrpc.inc 9 Jul 2009 01:39:47 -0000 1.5 +++ client/pifr_client.xmlrpc.inc 28 Oct 2009 04:25:21 -0000 @@ -1,5 +1,6 @@ $response['test_id'])); - watchdog('pifr_client', 'XML-RPC pifr.next() response: '. var_export($response, TRUE)); + pifr_debug('XML-RPC pifr.next() response: '. var_export($response, TRUE)); return $response; } +/** + * Send the results of review to the server. + * + * @param array $result Result information. + * @return boolean TRUE if succesful, otherwise FALSE. + */ function pifr_client_xmlrpc_send_result(array $result) { $response = xmlrpc(PIFR_CLIENT_SERVER . 'xmlrpc.php', 'pifr.result', PIFR_CLIENT_KEY, $result); @@ -59,7 +66,7 @@ } watchdog('pifr_client', 'Test results successfull sent: (t: @test_id).', array('@test_id' => $result['test_id'])); - watchdog('pifr_client', 'XML-RPC pifr.result() response: '. var_export($response, TRUE)); + pifr_debug('XML-RPC pifr.result() response: '. var_export($response, TRUE)); return TRUE; }