Commit 9eb533da authored by mpotter's avatar mpotter
Browse files

Issue #1489792 by alexharries: Fixed Undefined constant MAINTENANCE_MODE in strongarm.module.

parent 7be34723
......@@ -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);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment