From 0acc459d6bc675a8730bf9e3099fc3421bf40c9d Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Sun, 29 Sep 2013 15:01:54 +0200 Subject: [PATCH] Issue #2080591 by beowulf1416: Remove Unused local variable $uid from /core/modules/user/lib/Drupal/user/Plugin/views/field/Language.php. --- .../modules/user/lib/Drupal/user/Plugin/views/field/Language.php | 1 - 1 file changed, 1 deletion(-) diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/field/Language.php b/core/modules/user/lib/Drupal/user/Plugin/views/field/Language.php index 8ca779dccb5..3ea7d45f68b 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/field/Language.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/field/Language.php @@ -20,7 +20,6 @@ use Drupal\views\ResultRow; class Language extends User { protected function renderLink($data, ResultRow $values) { - $uid = $this->getValue($values, 'uid'); if (!empty($this->options['link_to_user'])) { $uid = $this->getValue($values, 'uid'); if (user_access('access user profiles') && $uid) {