From 9c975145c4ac8379714a6e0288cce35e76f25373 Mon Sep 17 00:00:00 2001 From: Lily Yan <l26yan@uwaterloo.ca> Date: Mon, 24 Jul 2023 13:44:49 -0400 Subject: [PATCH] Remove hiding hide_branding field added by mistaking rebase --- uw_cfg_common.module | 5 ----- 1 file changed, 5 deletions(-) diff --git a/uw_cfg_common.module b/uw_cfg_common.module index 525763f4..d554b298 100644 --- a/uw_cfg_common.module +++ b/uw_cfg_common.module @@ -1217,11 +1217,6 @@ function uw_cfg_common_form_user_register_form_alter(array &$form, FormStateInte */ function uw_cfg_common_form_alter(array &$form, FormStateInterface $form_state, string $form_id): void { - // Hide hide_branding field in simple sitemap settings. - if ($form_id == 'simple_sitemap_settings_form' && isset($form['settings']['hide_branding'])) { - unset($form['settings']['hide_branding']); - } - // Only blog, event and news item has 'Image' option. $hero_image_form_ids = [ 'node_uw_ct_blog_form', -- GitLab