From 22cf512104ee22c8d6f2d968ba2d8bb9c7a3f1d2 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 29 Jan 2021 13:55:11 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index eb0a70e..c912377 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -29,23 +29,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) upgrade_type=$(ynh_check_app_version_changed) -#================================================= -# ENSURE DOWNWARD COMPATIBILITY -#================================================= -ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 - -# If db_name doesn't exist, create it -#if [ -z "$db_name" ]; then -# db_name=$(ynh_sanitize_dbid --db_name=$app) -# ynh_app_setting_set --app=$app --key=db_name --value=$db_name -#fi - -# If final_path doesn't exist, create it -#if [ -z "$final_path" ]; then -# final_path=/var/www/$app -# ynh_app_setting_set --app=$app --key=final_path --value=$final_path -#fi - #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #=================================================