Make PHP-CS happy

This commit is contained in:
Philipp 2025-01-05 22:53:00 +01:00 committed by Hypolite Petovan
parent f53292cb11
commit ae8450f4fb
2 changed files with 66 additions and 64 deletions

View file

@ -281,10 +281,12 @@ class Install extends BaseModule
$this->configCache->get('config', 'admin_email'), $this->configCache->get('config', 'admin_email'),
$this->t('Your account email address must match this in order to use the web admin panel.'), $this->t('Your account email address must match this in order to use the web admin panel.'),
$this->t('Required'), 'autofocus', 'email'], $this->t('Required'), 'autofocus', 'email'],
'$timezone' => Temporal::getTimezoneField('system-default_timezone', '$timezone' => Temporal::getTimezoneField(
'system-default_timezone',
$this->t('Please select a default timezone for your website'), $this->t('Please select a default timezone for your website'),
$this->configCache->get('system', 'default_timezone'), $this->configCache->get('system', 'default_timezone'),
''), ''
),
'$language' => ['system-language', '$language' => ['system-language',
$this->t('System Language:'), $this->t('System Language:'),
$this->configCache->get('system', 'language'), $this->configCache->get('system', 'language'),

View file

@ -81,7 +81,7 @@ class AppSpecific extends BaseSettings
} }
break; break;
case 'revoke_all' : case 'revoke_all':
AppSpecificPassword::deleteAllForUser($this->session->getLocalUserId()); AppSpecificPassword::deleteAllForUser($this->session->getLocalUserId());
$this->systemMessages->addInfo($this->t('App-specific passwords successfully revoked.')); $this->systemMessages->addInfo($this->t('App-specific passwords successfully revoked.'));
$this->baseUrl->redirect('settings/2fa/app_specific?t=' . self::getFormSecurityToken('settings_2fa_password')); $this->baseUrl->redirect('settings/2fa/app_specific?t=' . self::getFormSecurityToken('settings_2fa_password'));