preferences: Remove always false string check about eauth

Since I4e35c5a71800f88b2063dd0361d83a56f54d58c3 it is impossible for
$res to be a string at this point

Change-Id: I025abd74e0d718d79e98c1ee3ea97d219bc5adb6
This commit is contained in:
Umherirrender 2020-06-22 22:25:37 +02:00
parent 71a5aef0d7
commit ebf6ad6b58

View file

@ -1773,10 +1773,6 @@ class DefaultPreferencesFactory implements PreferencesFactory {
$context = $form->getContext();
$urlOptions = [];
if ( $res === 'eauth' ) {
$urlOptions['eauth'] = 1;
}
$urlOptions += $form->getExtraSuccessRedirectParameters();
$url = $form->getTitle()->getFullURL( $urlOptions );