summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Bergren2009-02-05 20:38:11 (GMT)
committer Brandon Bergren2009-02-05 20:38:11 (GMT)
commit9d1d061880266b0636dae0d53461a414bc5db479 (patch)
tree1fc00d40809efc7ee85acc180c1c819747a3c213
parent93da8a1b6ebbcd33f96345c33a7b47d6ebcb4ca3 (diff)
Remove the gmap_geocode variable, it doesn't do anything anymore.
-rw-r--r--gmap_location.install10
-rw-r--r--gmap_location.module11
2 files changed, 10 insertions, 11 deletions
diff --git a/gmap_location.install b/gmap_location.install
index 9e38bf8..d16e267 100644
--- a/gmap_location.install
+++ b/gmap_location.install
@@ -145,3 +145,13 @@ function gmap_location_update_5100() {
return $ret;
}
+
+/**
+ * 5.x-1.0 update 2. (Post-release)
+ * Delete unneeded variable.
+ */
+function gmap_location_update_5101() {
+ $ret = array();
+ variable_del('gmap_geocode');
+ return $ret;
+}
diff --git a/gmap_location.module b/gmap_location.module
index 869ac4a..7dc50dc 100644
--- a/gmap_location.module
+++ b/gmap_location.module
@@ -382,17 +382,6 @@ function theme_gmap_location_node_page($count, $header, $map, $footer) {
*
*/
function gmap_location_admin_settings() {
- $form['geocoding'] = array(
- '#type' => 'fieldset',
- '#title' => t('Geocode Locations'),
- );
- $form['geocoding']['gmap_geocode'] = array(
- '#type' => 'radios',
- '#title' => t('Enable the Google Map API geocoding'),
- '#default_value' => variable_get('gmap_geocode', 1),
- '#options' => array(1 => t('Enabled'), 0 => t('Disabled')),
- );
-
$form['user'] = array(
'#type' => 'fieldset',
'#title' => t('User settings'),