/[drupal]/contributions/modules/casetracker_services/casetracker_client.module
ViewVC logotype

Diff of /contributions/modules/casetracker_services/casetracker_client.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2.2.7, Fri Apr 4 05:28:49 2008 UTC revision 1.2.2.8, Thu Apr 10 02:04:25 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: casetracker_client.module,v 1.2.2.5 2008/03/29 19:51:54 sime Exp $  // $Id: casetracker_client.module,v 1.2.2.7 2008/04/04 05:28:49 sime Exp $
3    
4  /**  /**
5   * Implementation of hook_perm().   * Implementation of hook_perm().
# Line 147  function casetracker_remote_call() { Line 147  function casetracker_remote_call() {
147    $result = call_user_func_array('xmlrpc', $args);    $result = call_user_func_array('xmlrpc', $args);
148    $errors = xmlrpc_error();    $errors = xmlrpc_error();
149    if ($errors) {    if ($errors) {
150      dsm($errors);      drupal_set_message( '<pre>'.
151          "An error occurred while getting ". $url ."\n". "Arguments:\n- " . implode("\n- ", $args) ."\n\n".
152          t('Error') ."\n". print_r( $errors, TRUE) .'</pre>', 'warning');
153    }    }
154    if (is_array($result)) {    if (is_array($result)) {
155      array_walk_recursive($result, 'casetracker_client_path_replace', $url_path);      array_walk_recursive($result, 'casetracker_client_path_replace', $url_path);

Legend:
Removed from v.1.2.2.7  
changed lines
  Added in v.1.2.2.8

  ViewVC Help
Powered by ViewVC 1.1.2