From 2e8e77996aaa254cb97ddeb770027703d85cc939 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 16 Aug 2022 23:25:14 +0200 Subject: [PATCH] Kill legacy setting_set on is_public --- scripts/upgrade | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 2954067..d7d7fa7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -76,15 +76,6 @@ ynh_systemd_action --service_name=$app --action="stop" #================================================= ynh_script_progression --message="Ensuring downward compatibility..." --weight=2 -# Fix is_public as a boolean -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 - skipped_uris=$(ynh_app_setting_get --app=$app --key=skipped_uris) # Unused with the permission system