mirror of
https://github.com/YunoHost-Apps/gotosocial_ynh.git
synced 2024-09-03 19:16:06 +02:00
Deleting residual parameters
This commit is contained in:
parent
96e3803419
commit
440a38b5b1
1 changed files with 4 additions and 0 deletions
|
@ -276,18 +276,22 @@ then
|
||||||
if [ -n "$allow_custom_css" ]
|
if [ -n "$allow_custom_css" ]
|
||||||
then
|
then
|
||||||
ynh_app_setting_set --app="$app" --key=accounts_allow_custom_css --value="allow_custom_css"
|
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
|
fi
|
||||||
if [ -n "$approval_required" ]
|
if [ -n "$approval_required" ]
|
||||||
then
|
then
|
||||||
ynh_app_setting_set --app="$app" --key=accounts_approval_required --value="approval_required"
|
ynh_app_setting_set --app="$app" --key=accounts_approval_required --value="approval_required"
|
||||||
|
ynh_app_setting_delete --app="$app" --key=approval_required
|
||||||
fi
|
fi
|
||||||
if [ -n "$reason_required" ]
|
if [ -n "$reason_required" ]
|
||||||
then
|
then
|
||||||
ynh_app_setting_set --app="$app" --key=accounts_reason_required --value="reason_required"
|
ynh_app_setting_set --app="$app" --key=accounts_reason_required --value="reason_required"
|
||||||
|
ynh_app_setting_delete --app="$app" --key=reason_required
|
||||||
fi
|
fi
|
||||||
if [ -n "$registration_open" ]
|
if [ -n "$registration_open" ]
|
||||||
then
|
then
|
||||||
ynh_app_setting_set --app="$app" --key=accounts_registration_open --value="registration_open"
|
ynh_app_setting_set --app="$app" --key=accounts_registration_open --value="registration_open"
|
||||||
|
ynh_app_setting_delete --app="$app" --key=registration_open
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue