From 440a38b5b1d479a47fa4d592abae0a4ad4105db3 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Tue, 11 Apr 2023 17:24:01 +0200 Subject: [PATCH] Deleting residual parameters --- scripts/upgrade | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index e144c3b..93a21a0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -276,18 +276,22 @@ then if [ -n "$allow_custom_css" ] then ynh_app_setting_set --app="$app" --key=accounts_allow_custom_css --value="allow_custom_css" + ynh_app_setting_delete --app="$app" --key=allow_custom_css fi if [ -n "$approval_required" ] then ynh_app_setting_set --app="$app" --key=accounts_approval_required --value="approval_required" + ynh_app_setting_delete --app="$app" --key=approval_required fi if [ -n "$reason_required" ] then ynh_app_setting_set --app="$app" --key=accounts_reason_required --value="reason_required" + ynh_app_setting_delete --app="$app" --key=reason_required fi if [ -n "$registration_open" ] then ynh_app_setting_set --app="$app" --key=accounts_registration_open --value="registration_open" + ynh_app_setting_delete --app="$app" --key=registration_open fi #=================================================