Skip to content
Snippets Groups Projects
Commit 8bdea8d9 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #1263882 by cweagans, TR: Code style: authorize.php.

parent 9aac55b4
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
define('MAINTENANCE_MODE', 'update'); define('MAINTENANCE_MODE', 'update');
/** /**
* Render a 403 access denied page for authorize.php * Renders a 403 access denied page for authorize.php.
*/ */
function authorize_access_denied_page() { function authorize_access_denied_page() {
drupal_add_http_header('Status', '403 Forbidden'); drupal_add_http_header('Status', '403 Forbidden');
...@@ -45,7 +45,7 @@ function authorize_access_denied_page() { ...@@ -45,7 +45,7 @@ function authorize_access_denied_page() {
} }
/** /**
* Determine if the current user is allowed to run authorize.php. * Determines if the current user is allowed to run authorize.php.
* *
* The killswitch in settings.php overrides all else, otherwise, the user must * The killswitch in settings.php overrides all else, otherwise, the user must
* have access to the 'administer software updates' permission. * have access to the 'administer software updates' permission.
...@@ -145,7 +145,7 @@ function authorize_access_allowed() { ...@@ -145,7 +145,7 @@ function authorize_access_allowed() {
l(t('Front page'), '<front>'), l(t('Front page'), '<front>'),
)); ));
} }
$output .= theme('item_list', array('items' => $links, 'title' => t('Next steps'))); $output .= theme('item_list', array('items' => $links, 'title' => t('Next steps')));
} }
// If a batch is running, let it run. // If a batch is running, let it run.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment