From f67a728ed371de27836bb503a170e31724a3128a Mon Sep 17 00:00:00 2001 From: Eric Bremner <ebremner@uwaterloo.ca> Date: Thu, 21 Apr 2022 09:54:06 -0400 Subject: [PATCH] ISTWCMS-5500: coding standards --- uw_fdsu_theme_resp.theme | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/uw_fdsu_theme_resp.theme b/uw_fdsu_theme_resp.theme index 6451a217..7a35f31e 100644 --- a/uw_fdsu_theme_resp.theme +++ b/uw_fdsu_theme_resp.theme @@ -66,9 +66,6 @@ function uw_fdsu_theme_resp_preprocess_html(&$variables) { case 'view.uw_view_events.event_page': case 'view.uw_view_news_items.news_page': - // Get the parameters from the URL. - $parameters = \Drupal::request()->query->all(); - // Get the alternate link based on the route. switch ($route_name) { @@ -143,7 +140,7 @@ function _uw_fdsu_theme_resp_get_alternate_link( 'href' => $url->toString(), 'title' => $title, 'type' => 'application/rss+xml', - ] + ], ]; } -- GitLab