You are here

function update_callback_service_unavailable in Drupal 7

Page callback: Displays an Error 503 (Service unavailable) page.

See also

update_test_menu()

1 string reference to 'update_callback_service_unavailable'
update_test_menu in modules/update/tests/update_test.module
Implements hook_menu().

File

modules/update/tests/update_test.module, line 189
Module for testing Update Manager functionality.

Code

function update_callback_service_unavailable() {
  drupal_add_http_header('Status', '503 Service unavailable');
  print "503 Service Temporarily Unavailable";
}