Skip to content
Snippets Groups Projects
Commit 0acc459d authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2080591 by beowulf1416: Remove Unused local variable $uid from...

Issue #2080591 by beowulf1416: Remove Unused local variable $uid from /core/modules/user/lib/Drupal/user/Plugin/views/field/Language.php.
parent c3ec94f7
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
......@@ -20,7 +20,6 @@
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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment