Skip to content
Snippets Groups Projects
Commit 9d1d0618 authored by Brandon Bergren's avatar Brandon Bergren
Browse files

Remove the gmap_geocode variable, it doesn't do anything anymore.

parent 93da8a1b
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......@@ -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'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment