From c707137ff8dafebfede0958ad58259acc0e77ad0 Mon Sep 17 00:00:00 2001
From: ebremner <ebremner@uwaterloo.ca>
Date: Fri, 14 Aug 2020 16:18:22 -0400
Subject: [PATCH] ISTWCMS-4025: removing unused variable:

---
 uw_cfg_common.module | 1 -
 1 file changed, 1 deletion(-)

diff --git a/uw_cfg_common.module b/uw_cfg_common.module
index 476a7f0f..ac283841 100644
--- a/uw_cfg_common.module
+++ b/uw_cfg_common.module
@@ -146,7 +146,6 @@ function uw_cfg_common_toolbar_alter(&$items) {
   // Get the current user.
   $current_user = \Drupal::currentUser();
 
-  $user_id = $current_user->id();
   // Ensure that the current user is not user1.
   if ($current_user->id() !== '1') {
 
-- 
GitLab