Removed: Redundant code

This commit is contained in:
Felix 2023-04-09 21:47:03 +02:00
parent 67e3077b67
commit 6697f45949
1 changed files with 1 additions and 3 deletions

View File

@ -213,8 +213,6 @@ function _setup_dovecot_namespaces
[[ "${DOVECOT_ENABLE_INBOX_SHARING}" = 1 ]] && _log 'warn' 'Namespace separator has to be defined in order for shared inboxes to work.'
uncomment_shared_config_contents=no
DOVECOT_NAMESPACE_SEPARATOR_CLAUSE="# ${DOVECOT_NAMESPACE_SEPARATOR_CLAUSE}"
else
DOVECOT_NAMESPACE_SEPARATOR_CLAUSE="${DOVECOT_NAMESPACE_SEPARATOR_CLAUSE}"
fi
[[ "${uncomment_shared_config_contents}" = yes ]] && sed -i -e "s/^#<#//" "/etc/dovecot/conf.d/${VARS[DOVECOT_SHARED_INBOX_CONFIG]}"