From c0af3c9e39caedd509985a2d5315dc0ef2ddae64 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Thu, 31 Aug 2017 16:37:40 +0200 Subject: [PATCH] EditPage: Remove unused variable in getCheckboxesOOUI() This was unnecessarily copypasted from getCheckboxes(). The label's 'id' attribute is correctly being set below. Change-Id: I1557461bfd16c22bb949e26d419e154f80c963d7 --- includes/EditPage.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 40913bbd12..664e9b8a57 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -4207,9 +4207,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( [ -- 2.20.1