Commit 5a15a597 authored by benedikt.kroening's avatar benedikt.kroening
Browse files

Fixed feature scripts

parent 5770244c
......@@ -105,7 +105,7 @@ if [[ "${FEATURE_ENABLE}" = true ]]; then
echo "Reloading ox config ..."
/opt/open-xchange/sbin/reloadconfiguration
else
elif [[ "${FEATURE_ENABLE}" = false ]]; then
setOXProperty com.openexchange.capability.multifactor "false" /opt/open-xchange/etc/multifactor.properties
# do something to disable it
echo "Reloading ox config ..."
......
......@@ -102,8 +102,8 @@ if [[ "${FEATURE_ENABLE}" = true ]]; then
echo "Reloading ox config ..."
/opt/open-xchange/sbin/reloadconfiguration
else
elif [[ "${FEATURE_ENABLE}" = false ]]; then
echo ""
# do something to disable it
fi
......
......@@ -113,7 +113,7 @@ if [[ "${GDPR_ENABLE}" = true ]]; then
echo "Reloading ox config ..."
/opt/open-xchange/sbin/reloadconfiguration
# Configuration of no_reply settings (may move to own feature script)
else
elif [[ "${GDPR_ENABLE}" = false ]]; then
if [[ -f /opt/open-xchange/etc/dataexport.properties ]]; then
echo "Disabling GDPR data export features"
setOXProperty com.openexchange.gdpr.dataexport.enabled false /opt/open-xchange/etc/dataexport.properties
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment