summaryrefslogtreecommitdiff
path: root/modules/update/update.authorize.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/update/update.authorize.inc')
-rw-r--r--modules/update/update.authorize.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/update/update.authorize.inc b/modules/update/update.authorize.inc
index a262ad73a..fbbc31ca7 100644
--- a/modules/update/update.authorize.inc
+++ b/modules/update/update.authorize.inc
@@ -176,14 +176,14 @@ function update_authorize_update_batch_finished($success, $results) {
$success = FALSE;
}
}
- $offline = variable_get('site_offline', FALSE);
+ $offline = variable_get('maintenance_mode', FALSE);
if ($success) {
// Now that the update completed, we need to clear the cache of available
// update data and recompute our status, so prevent show bogus results.
_update_authorize_clear_update_status();
if ($offline) {
- variable_set('site_offline', FALSE);
+ variable_set('maintenance_mode', FALSE);
$page_message = array(
'message' => t('Update was completed successfully. Your site has been taken out of maintenance mode.'),
'type' => 'status',
@@ -233,9 +233,9 @@ function update_authorize_install_batch_finished($success, $results) {
$success = FALSE;
}
}
- $offline = variable_get('site_offline', FALSE);
+ $offline = variable_get('maintenance_mode', FALSE);
if ($success && $offline) {
- variable_set('site_offline', FALSE);
+ variable_set('maintenance_mode', FALSE);
$page_message = array(
'message' => t('Installation was completed successfully. Your site has been taken out of maintenance mode.'),
'type' => 'status',