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
facee1fe
Commit
facee1fe
authored
14 years ago
by
Brandon Bergren
Browse files
Options
Downloads
Patches
Plain Diff
Issue #1085564 by solotandem: Fix return value in hook_requirements().
parent
a8e846b6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gmap_taxonomy.install
+8
-8
8 additions, 8 deletions
gmap_taxonomy.install
with
8 additions
and
8 deletions
gmap_taxonomy.install
+
8
−
8
View file @
facee1fe
...
...
@@ -9,16 +9,16 @@
* Implement hook_requirements().
*/
function
gmap_taxonomy_requirements
(
$phase
)
{
$requirements
=
array
();
if
(
!
variable_get
(
'taxonomy_maintain_index_table'
,
TRUE
))
{
return
array
(
'gmap_taxonomy_able_to_index'
=>
array
(
'title'
=>
t
(
'GMap Taxonomy Markers'
),
'value'
=>
''
,
'description'
=>
t
(
'The variable <em>taxonomy_maintain_index_table</em> is set to FALSE. gmap_taxonomy.module will not work properly.'
),
'severity'
=>
REQUIREMENT_ERROR
,
),
$requirements
[
'gmap_taxonomy_able_to_index'
]
=
array
(
'title'
=>
t
(
'GMap Taxonomy Markers'
),
'value'
=>
''
,
'description'
=>
t
(
'The variable <em>taxonomy_maintain_index_table</em> is set to FALSE. gmap_taxonomy.module will not work properly.'
),
'severity'
=>
REQUIREMENT_ERROR
,
);
}
return
$requirements
;
}
...
...
@@ -97,4 +97,4 @@ function gmap_taxonomy_update_6001() {
function gmap_taxonomy_update_7000() {
// @@@ FIXME -- rebuild the table from scratch again.
}
*/
\ No newline at end of file
*/
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