/[drupal]/contributions/modules/live_translation/live_translation.update.inc
ViewVC logotype

Diff of /contributions/modules/live_translation/live_translation.update.inc

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

revision 1.4, Fri Apr 24 06:25:26 2009 UTC revision 1.5, Fri Apr 24 10:53:57 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: live_translation.update.inc,v 1.3 2009/04/20 02:48:32 brmassa Exp $  // $Id: live_translation.update.inc,v 1.4 2009/04/24 06:25:26 brmassa Exp $
3  /**  /**
4   * @author Bruno Massa   * @author Bruno Massa
5   * @file   * @file
# Line 98  function _live_translation_import($modul Line 98  function _live_translation_import($modul
98    // Display any error message    // Display any error message
99    if (isset($message)) {    if (isset($message)) {
100      drupal_set_message($message, isset($ok) ? 'ok' : 'error');      drupal_set_message($message, isset($ok) ? 'ok' : 'error');
101      watchdog('live_translation', $message,  isset($ok) ? WATCHDOG_NOTICE : WATCHDOG_ERROR);      watchdog('live_translation', $message,  NULL, isset($ok) ? WATCHDOG_NOTICE : WATCHDOG_ERROR);
102    }    }
103    
104    // Delete the file    // Delete the file
# Line 143  function _live_translation_update($retur Line 143  function _live_translation_update($retur
143      // Save the tokens on DB for further use. But in case      // Save the tokens on DB for further use. But in case
144      // of error, show a message      // of error, show a message
145      if (xmlrpc_error()) {      if (xmlrpc_error()) {
146        watchdog('live_translation_update', xmlrpc_error_msg(), array(), WATCHDOG_ERROR);        watchdog('live_translation', xmlrpc_error_msg(), NULL, WATCHDOG_ERROR);
147        drupal_set_message(xmlrpc_error_msg(), 'error');        drupal_set_message(xmlrpc_error_msg(), 'error');
148      }      }
149      else {      else {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.2