Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
strongarm
Commits
9eb533da
Commit
9eb533da
authored
Jun 13, 2012
by
mpotter
Browse files
Issue
#1489792
by alexharries: Fixed Undefined constant MAINTENANCE_MODE in strongarm.module.
parent
7be34723
Changes
1
Hide whitespace changes
Inline
Side-by-side
strongarm.module
View file @
9eb533da
...
...
@@ -134,7 +134,7 @@ function variable_features_rebuild($module) {
$vars
=
strongarm_vars_load
(
TRUE
,
TRUE
);
foreach
(
$defaults
as
$name
=>
$default
)
{
if
(
!
empty
(
$vars
[
$name
]
->
in_code_only
)
||
(
MAINTENANCE_MODE
==
'install'
&&
$vars
[
$name
]
->
export_type
&
EXPORT_IN_CODE
))
{
if
(
isset
(
$vars
[
$name
]
->
in_code_only
)
||
(
defined
(
'MAINTENANCE_MODE'
)
&&
MAINTENANCE_MODE
==
'install'
&&
$vars
[
$name
]
->
export_type
&
EXPORT_IN_CODE
))
{
variable_set
(
$name
,
$default
->
value
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment