Commit 0acc459d authored by alexpott's avatar alexpott

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
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment