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

Diff of /contributions/modules/location/location.install

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

revision 1.42, Tue Feb 24 22:54:38 2009 UTC revision 1.43, Mon Aug 31 22:09:35 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: location.install,v 1.41 2008/12/09 21:50:48 bdragon Exp $  // $Id: location.install,v 1.42 2009/02/24 22:54:38 bdragon Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 26  function location_uninstall() { Line 26  function location_uninstall() {
26    variable_del('location_locpick_macro');    variable_del('location_locpick_macro');
27    
28    // Delete geocoder settings.    // Delete geocoder settings.
29    $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'location_geocode_%'");    $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'location_geocode_%'")->fetchCol();
30    while ($row = db_fetch_object($result)) {    foreach ($result as $var) {
31      variable_del($row->name);      variable_del($var);
32    }    }
33  }  }
34    
# Line 1120  function location_update_6308() { Line 1120  function location_update_6308() {
1120      drupal_set_message(t("Note: Refusing to enable location_node.module, as location.module is not currently enabled."));      drupal_set_message(t("Note: Refusing to enable location_node.module, as location.module is not currently enabled."));
1121    }    }
1122    return $ret;    return $ret;
 }  
1123    }
1124    
1125    /**
1126     * 7.x update 1
1127     */
1128    /*
1129    function location_update_7000() {
1130      $ret = array();
1131      // This went away because core now has site_default_country.
1132      variable_del('location_default_country');
1133    
1134      return $ret;
1135    }
1136    */

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

  ViewVC Help
Powered by ViewVC 1.1.2