function update_callback_service_unavailable

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

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.