From 97313dc1bac8c38d59d43344d0165f07810d39ca Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 13 Jun 2022 15:50:57 +0200 Subject: [PATCH] CLeanup is_public --- scripts/upgrade | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index e9401e5..bc253de 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -59,15 +59,6 @@ if ynh_legacy_permissions_exists; then ynh_app_setting_delete --app=$app --key=is_public fi -# 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)