Merge "EditPage: Remove unused variable in getCheckboxesOOUI()"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sun, 3 Sep 2017 01:34:05 +0000 (01:34 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sun, 3 Sep 2017 01:34:05 +0000 (01:34 +0000)
includes/EditPage.php

index 6ea293c..9d2d402 100644 (file)
@@ -4263,9 +4263,6 @@ class EditPage {
                        if ( isset( $options['title-message'] ) ) {
                                $title = $this->context->msg( $options['title-message'] )->text();
                        }
-                       if ( isset( $options['label-id'] ) ) {
-                               $labelAttribs['id'] = $options['label-id'];
-                       }
 
                        $checkboxes[ $legacyName ] = new OOUI\FieldLayout(
                                new OOUI\CheckboxInputWidget( [