Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gmap
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
gmap
Commits
9d1d0618
Commit
9d1d0618
authored
16 years ago
by
Brandon Bergren
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gmap_location.install
+10
-0
10 additions, 0 deletions
gmap_location.install
gmap_location.module
+0
-11
0 additions, 11 deletions
gmap_location.module
with
10 additions
and
11 deletions
gmap_location.install
+
10
−
0
View file @
9d1d0618
...
...
@@ -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
;
}
This diff is collapsed.
Click to expand it.
gmap_location.module
+
0
−
11
View file @
9d1d0618
...
...
@@ -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'
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment