From: Bartosz DziewoƄski Date: Thu, 31 Aug 2017 14:37:40 +0000 (+0200) Subject: EditPage: Remove unused variable in getCheckboxesOOUI() X-Git-Tag: 1.31.0-rc.0~2230^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=c0af3c9e39caedd509985a2d5315dc0ef2ddae64 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 --- 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( [