EditPage: Simplify getEditButtons()
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 17 Jan 2018 16:32:38 +0000 (17:32 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 17 Jan 2018 16:42:41 +0000 (17:42 +0100)
commitfbbf5f9c781dc561d0444a5c24cb11c2e0d12e64
treeeb5b0bbc92d06ae99777c359d3ce2cf7d57156d0
parent656a2efcc2f4495b09a5d34b8980398690767db4
EditPage: Simplify getEditButtons()

When this function supported both OOUI and non-OOUI buttons
(before 478caa076f75fde935c66eb9334410d868c30818), using
OOUI\Element::configFromHtmlAttributes() avoided some code
duplication, but now it's just unnecessary.

Change-Id: Ie941b9919e40b0a57d28ad76d1f0cc257456ce49
includes/EditPage.php