Issue #2081205 by mrsinguyen: Remove Unused local variable $rid from /core/modules/user/lib/Drupal/user/Form/UserPermissionsForm.php.

8.0.x
Nathaniel Catchpole 2013-09-16 12:12:58 +01:00
parent 29530fd0f2
commit 0eca8b3725
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ class UserPermissionsForm extends FormBase {
'#id' => 'permissions',
'#sticky' => TRUE,
);
foreach ($role_names as $rid => $name) {
foreach ($role_names as $name) {
$form['permissions']['#header'][] = array(
'data' => $name,
'class' => array('checkbox'),