Skip to content
Snippets Groups Projects
Commit 64552427 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2002706 by kerasai: Improve code maintainability by removing unused...

Issue #2002706 by kerasai: Improve code maintainability by removing unused local variables - core/includes/authorize.inc.
parent cd56978a
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
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
* @ingroup forms * @ingroup forms
*/ */
function authorize_filetransfer_form($form, &$form_state) { function authorize_filetransfer_form($form, &$form_state) {
global $base_url;
$form = array(); $form = array();
// If possible, we want to post this form securely via HTTPS. // If possible, we want to post this form securely via HTTPS.
...@@ -226,7 +225,6 @@ function authorize_filetransfer_form_validate($form, &$form_state) { ...@@ -226,7 +225,6 @@ function authorize_filetransfer_form_validate($form, &$form_state) {
* @see authorize_filetransfer_validate() * @see authorize_filetransfer_validate()
*/ */
function authorize_filetransfer_form_submit($form, &$form_state) { function authorize_filetransfer_form_submit($form, &$form_state) {
global $base_url;
switch ($form_state['triggering_element']['#name']) { switch ($form_state['triggering_element']['#name']) {
case 'process_updates': case 'process_updates':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment