X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FPreferences.php;h=d86b19a5ce82af8756fc68199e97fc820e15c3e5;hb=0e15a6068a5a07fc109b5898ae51fdb8decafaf0;hp=5a9f0b055df821f884ac0fe933f4e7a7bae7a9d7;hpb=81100ad05b6681b46035d22a7fcdf8457dbf45ea;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Preferences.php b/includes/Preferences.php index 5a9f0b055d..d86b19a5ce 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -861,7 +861,6 @@ class Preferences { 'section' => 'editing/preview', 'label-message' => 'tog-uselivepreview', ]; - } /** @@ -1594,7 +1593,7 @@ class PreferencesForm extends HTMLForm { * Get extra parameters for the query string when redirecting after * successful save. * - * @return array() + * @return array */ public function getExtraSuccessRedirectParameters() { return []; @@ -1614,7 +1613,6 @@ class PreferencesForm extends HTMLForm { * @return string */ function getButtons() { - $attrs = [ 'id' => 'mw-prefs-restoreprefs' ]; if ( !$this->getModifiedUser()->isAllowedAny( 'editmyprivateinfo', 'editmyoptions' ) ) {