diff --git a/scripts/upgrade b/scripts/upgrade index 6938f4c..657e874 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -29,25 +29,6 @@ port=$(ynh_app_setting_get --app=$app --key=port) upgrade_type=$(ynh_check_app_version_changed) -#================================================= -# ENSURE DOWNWARD COMPATIBILITY -#================================================= -ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 - - -# Cleaning legacy permissions -if ynh_legacy_permissions_exists; then - ynh_legacy_permissions_delete_all - - ynh_app_setting_delete --app=$app --key=is_public -fi - -if ! ynh_permission_exists --permission="admin"; then - # Create the required permissions - ynh_permission_create --permission="admin" --url="/" --allowed=$admin -fi - - #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #=================================================