/[drupal]/contributions/modules/l10n_server/l10n_community/l10n_community.install
ViewVC logotype

Diff of /contributions/modules/l10n_server/l10n_community/l10n_community.install

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

revision 1.1.2.11.2.12 by goba, Fri Sep 18 18:03:19 2009 UTC revision 1.1.2.11.2.13 by goba, Tue Nov 17 17:34:32 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: l10n_community.install,v 1.1.2.11.2.11 2009/08/16 15:00:51 goba Exp $  // $Id: l10n_community.install,v 1.1.2.11.2.12 2009/09/18 18:03:19 goba Exp $
3  /**  /**
4   * @file   * @file
5   *   Localization community installation, update and uninstallation.   *   Localization community installation, update and uninstallation.
# Line 589  function l10n_community_update_6007() { Line 589  function l10n_community_update_6007() {
589    }    }
590    return $ret;    return $ret;
591  }  }
592    
593    /**
594     * Translations which are submitted right away should have equal approval data.
595     */
596    function l10n_community_update_6008() {
597      $ret = array();
598      $ret[] = update_sql('UPDATE {l10n_community_translation} SET uid_approved = uid_entered, time_approved = time_entered WHERE is_suggestion = 0 AND uid_approved = 0');
599      return $ret;
600    }

Legend:
Removed from v.1.1.2.11.2.12  
changed lines
  Added in v.1.1.2.11.2.13

  ViewVC Help
Powered by ViewVC 1.1.3