From 5be3c1afcd4d5fb95b56ec5541162d60b2d339be Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Sun, 30 Jun 2019 13:34:23 +0200 Subject: [PATCH] Fix code style See #2951 --- wcfsetup/install/files/lib/acp/form/UserEditForm.class.php | 2 +- wcfsetup/install/files/lib/form/LostPasswordForm.class.php | 2 +- wcfsetup/install/lang/de.xml | 2 +- wcfsetup/install/lang/en.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/form/UserEditForm.class.php b/wcfsetup/install/files/lib/acp/form/UserEditForm.class.php index c86d740788..10aeb66070 100755 --- a/wcfsetup/install/files/lib/acp/form/UserEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserEditForm.class.php @@ -422,7 +422,7 @@ class UserEditForm extends UserAddForm { // reset password $this->password = $this->confirmPassword = ''; - // reload user when deleting the cover photo or disconneting from 3rd party auth provider + // reload user when deleting the cover photo or disconnecting from 3rd party auth provider if ($this->deleteCoverPhoto || $this->disconnect3rdParty) $this->user = new User($this->userID); // show success message diff --git a/wcfsetup/install/files/lib/form/LostPasswordForm.class.php b/wcfsetup/install/files/lib/form/LostPasswordForm.class.php index fbcb7ae1ba..56120d5a00 100644 --- a/wcfsetup/install/files/lib/form/LostPasswordForm.class.php +++ b/wcfsetup/install/files/lib/form/LostPasswordForm.class.php @@ -84,7 +84,7 @@ class LostPasswordForm extends AbstractCaptchaForm { if ($this->user->authData) { HeaderUtil::delayedRedirect(LinkHandler::getInstance()->getLink(ucfirst($this->user->getAuthProvider()) . 'Auth'), WCF::getLanguage()->getDynamicVariable('wcf.user.username.error.3rdParty.redirect', [ 'provider' => WCF::getLanguage()->get('wcf.user.3rdparty.'. $this->user->getAuthProvider()) - ]),5, 'info'); + ]), 5, 'info'); exit; } diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 00586cb009..e2faa1587c 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -4846,7 +4846,7 @@ Die E-Mail-Adresse des neuen Benutzers lautet: {@$user->email} - getAuthProvider()}{/lang} verknüpft.]]> + getAuthProvider()|language} verknüpft.]]> diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 8ab0ed407b..758e953c7b 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -4842,7 +4842,7 @@ Open the link below to access the user profile: - getAuthProvider()}{/lang}.]]> + getAuthProvider()|language}.]]> -- 2.20.1