diff --git a/setup/inc/hook_config.inc.php b/setup/inc/hook_config.inc.php index 2e22c8f9b4..8895bfa35c 100644 --- a/setup/inc/hook_config.inc.php +++ b/setup/inc/hook_config.inc.php @@ -162,17 +162,6 @@ function sql_passwdhashes($config, $return_hashes=false, &$securest=null) return $return_hashes ? $hashes : _options_from($hashes, $config['sql_encryption_type'] ? $config['sql_encryption_type'] : 'md5'); } -/** - * Make mail-login-types from emailadmin available to config template - * - * @param array $config - * @return string - */ -function mail_login_type($config) -{ - return _options_from(emailadmin_ui::getIMAPLoginTypes('cyrusimap'),$config['mail_login_type']); -} - /** * Make auth-types from setup_cmd_config available * @@ -195,10 +184,6 @@ function auth_type_activesync($config) { return _options_from(setup_cmd_config::auth_types(),$config['auth_type_activesync']); } -function auth_type_smtp($config) -{ - return _options_from(emailadmin_ui::getSMTPAuthConfig(),$config['smtpAuth']); -} /** * Returns options string