Issue #2080591 by beowulf1416: Remove Unused local variable $uid from /core/modules/user/lib/Drupal/user/Plugin/views/field/Language.php.
parent
c3ec94f76e
commit
0acc459d6b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue