cvs diff: Diffing modules/update
Index: modules/update/update.authorize.inc
===================================================================
RCS file: /Users/wright/drupal/local_repo/drupal/modules/update/update.authorize.inc,v
retrieving revision 1.5
diff -u -p -r1.5 update.authorize.inc
--- modules/update/update.authorize.inc	30 Oct 2010 04:06:45 -0000	1.5
+++ modules/update/update.authorize.inc	17 Nov 2010 15:55:34 -0000
@@ -176,14 +176,14 @@ function update_authorize_update_batch_f
       $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_
       $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',
Index: modules/update/update.manager.inc
===================================================================
RCS file: /Users/wright/drupal/local_repo/drupal/modules/update/update.manager.inc,v
retrieving revision 1.24
diff -u -p -r1.24 update.manager.inc
--- modules/update/update.manager.inc	29 Jul 2010 02:27:43 -0000	1.24
+++ modules/update/update.manager.inc	17 Nov 2010 15:55:30 -0000
@@ -357,7 +357,7 @@ function update_manager_update_ready_for
     '#suffix' => '</strong>',
   );
 
-  $form['site_offline'] = array(
+  $form['maintenance_mode'] = array(
     '#title' => t('Perform updates with site in maintenance mode (strongly recommended)'),
     '#type' => 'checkbox',
     '#default_value' => TRUE,
@@ -386,8 +386,8 @@ function update_manager_update_ready_for
  * @see system_authorized_get_url()
  */
 function update_manager_update_ready_form_submit($form, &$form_state) {
-  if ($form_state['values']['site_offline'] == TRUE) {
-    variable_set('site_offline', TRUE);
+  if ($form_state['values']['maintenance_mode'] == TRUE) {
+    variable_set('maintenance_mode', TRUE);
   }
 
   if (!empty($_SESSION['update_manager_update_projects'])) {
cvs diff: Diffing modules/update/tests
