/[drupal]/contributions/modules/countries_api/countries_api.install
ViewVC logotype

Diff of /contributions/modules/countries_api/countries_api.install

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

revision 1.1.4.2, Wed Mar 18 04:12:49 2009 UTC revision 1.1.4.3, Sat Jun 27 19:27:20 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: countries_api.install,v 1.1.4.2 2009/03/18 04:12:49 ngmaloney Exp $
3    
4  /**  /**
5   * Implementation of hook_install().   * Implementation of hook_install().
# Line 30  function countries_api_install() { Line 30  function countries_api_install() {
30  function countries_api_uninstall() {  function countries_api_uninstall() {
31          db_query('DROP TABLE {countries_api_countries}');          db_query('DROP TABLE {countries_api_countries}');
32  }  }
33    
34    /**
35     * Implementation of hook_update_N().
36     */
37    function countries_api_update_5101() {
38      $ret = array();
39      //Include country module include for initial data import
40      require_once(dirname(__FILE__) .'/countries_api.module');
41      _countries_api_flush();
42      countries_api_csv_import_countries();
43      return $ret;
44    }

Legend:
Removed from v.1.1.4.2  
changed lines
  Added in v.1.1.4.3

  ViewVC Help
Powered by ViewVC 1.1.2