From 5c11751afedcaa3756918ac1bb5cb6b15aceebea Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 1 Dec 2020 00:22:50 +0100 Subject: [PATCH] Remove migration of 'is_public' being a string --- scripts/upgrade | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 23f2e0e..3474983 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -41,15 +41,6 @@ upgrade_type=$(ynh_check_app_version_changed) #================================================= ynh_script_progression --message="Ensuring downward compatibility..." --time --weight=1 -# Fix is_public as a boolean value -if [ "$is_public" = "Yes" ]; then - ynh_app_setting_set --app=$app --key=is_public --value=1 - is_public=1 -elif [ "$is_public" = "No" ]; then - ynh_app_setting_set --app=$app --key=is_public --value=0 - is_public=0 -fi - # If db_name doesn't exist, create it if [ -z "$db_name" ]; then db_name=$(ynh_sanitize_dbid --db_name=$app)