constant MAINTENANCE_MODE

Same name in this branch
  1. 7.x drupal/authorize.php \MAINTENANCE_MODE
  2. 7.x drupal/install.php \MAINTENANCE_MODE
  3. 7.x drupal/update.php \MAINTENANCE_MODE

Global flag indicating that update.php is being run.

When this flag is set, various operations do not take place, such as invoking hook_init() and hook_exit(), css/js preprocessing, and translation.

10 uses of MAINTENANCE_MODE
ajax_footer in drupal/includes/ajax.inc
Performs end-of-Ajax-request tasks.
drupal_aggregate_css in drupal/includes/common.inc
Default callback to aggregate CSS files and inline content.
drupal_exit in drupal/includes/common.inc
Performs end-of-request tasks.
drupal_get_js in drupal/includes/common.inc
Returns a themed presentation of all JavaScript code for the current page.
drupal_installation_attempted in drupal/includes/bootstrap.inc
Returns TRUE if a Drupal installation is currently being attempted.

... See full list

File

drupal/update.php, line 28
Administrative page for handling updates from one Drupal version to another.

Code

define('MAINTENANCE_MODE', 'update');