From 7676323d0086a723903174cd59e2bee22ce03d4f Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 27 May 2022 23:01:18 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 07ff5dd..4ccd879 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -50,12 +50,6 @@ ynh_abort_if_errors #================================================= 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