diff --git a/scripts/upgrade b/scripts/upgrade index 0e7dfeb..67edb38 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -92,6 +92,10 @@ ynh_script_progression --message="Ensuring downward compatibility..." # Upgrade from <0.2.1~ynh4: if ynh_compare_current_package_version --comparison lt --version 0.2.1~ynh4 || [ -z "$db_user" ] then + # import old parameters + registration_open=$(ynh_app_setting_get --app="$app" --key=registration_open) + registration_approval=$(ynh_app_setting_get --app="$app" --key=registration_approval) + registration_reason=$(ynh_app_setting_get --app="$app" --key=registration_reason) # declaration of new parameters client_max_body_size="100M" media_image_max_size="2097152"