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

- Patch #549950 by asimmonds: removed unused variable .

parent bf8e86f7
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
......@@ -2050,8 +2050,6 @@ function system_settings_form($form, $automatic_defaults = TRUE) {
* add an array_filter value to your form.
*/
function system_settings_form_submit($form, &$form_state) {
$op = isset($form_state['values']['op']) ? $form_state['values']['op'] : '';
// Exclude unnecessary elements.
unset($form_state['values']['submit'], $form_state['values']['reset'], $form_state['values']['form_id'], $form_state['values']['op'], $form_state['values']['form_token'], $form_state['values']['form_build_id']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment