Remove unused startup_url

This commit is contained in:
djmaze 2021-12-07 16:51:09 +01:00
parent 3a61bb3e5a
commit df293960d0
5 changed files with 4 additions and 19 deletions

View file

@ -820,7 +820,6 @@ class Actions
'LoginDefaultDomain' => $oConfig->Get('login', 'default_domain', ''),
'DetermineUserLanguage' => (bool)$oConfig->Get('login', 'determine_user_language', true),
'DetermineUserDomain' => (bool)$oConfig->Get('login', 'determine_user_domain', false),
'StartupUrl' => \trim(\ltrim(\trim($oConfig->Get('labs', 'startup_url', '')), '#/')),
'SieveAllowFileintoInbox' => (bool)$oConfig->Get('labs', 'sieve_allow_fileinto_inbox', false),
'ContactsIsAllowed' => false,
'Admin' => array(),
@ -947,10 +946,6 @@ class Actions
$oSettings = $this->SettingsProvider()->Load($oAccount);
if (!empty($aResult['StartupUrl'])) {
$aResult['StartupUrl'] = $this->compileLogParams($aResult['StartupUrl'], $oAccount, true);
}
$aResult['MainEmail'] = \MailSo\Base\Utils::IdnToUtf8($this->getMainAccountFromToken()->Email());
$oSettingsLocal = $this->SettingsProvider(true)->Load($oAccount);
@ -1010,8 +1005,6 @@ class Actions
$aResult['DevEmail'] = $oConfig->Get('labs', 'dev_email', '');
$aResult['DevPassword'] = $oConfig->Get('labs', 'dev_password', '');
$aResult['StartupUrl'] = '';
if (empty($aResult['AdditionalLoginError'])) {
$aResult['AdditionalLoginError'] = $this->GetSpecLogoutCustomMgsWithDeletion();
}

View file

@ -313,10 +313,10 @@ Enables caching in the system'),
),
'labs' => array(
'allow_prefetch' => array(true),
'allow_prefetch' => array(false),
'cache_system_data' => array(true),
'date_from_headers' => array(true),
'autocreate_system_folders' => array(true),
'autocreate_system_folders' => array(false),
'allow_message_append' => array(false),
'login_fault_delay' => array(1),
'log_ajax_response_write_limit' => array(300),
@ -374,7 +374,6 @@ Enables caching in the system'),
'cookie_default_secure' => array(false),
'check_new_messages' => array(true),
'replace_env_in_configuration' => array(''),
'startup_url' => array(''),
'strict_html_parser' => array(false),
'boundary_prefix' => array(''),
'kolab_enabled' => array(false),