From 6c78b50a00b4dfb4890186005ae43cf5c9fdd4c7 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 10 Feb 2019 18:15:33 +0100 Subject: [PATCH] remove $db_user from remove script. --- scripts/remove | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/remove b/scripts/remove index 3723ae5..753d98a 100755 --- a/scripts/remove +++ b/scripts/remove @@ -19,7 +19,6 @@ app=$YNH_APP_INSTANCE_NAME domain=$(ynh_app_setting_get $app domain) port=$(ynh_app_setting_get $app port) db_name=$(ynh_app_setting_get $app db_name) -db_user=$db_name final_path=$(ynh_app_setting_get $app final_path) #================================================= @@ -49,7 +48,7 @@ ynh_remove_systemd_config ynh_print_info "Remove the mysql database" # Remove a database if it exists, along with the associated user -ynh_mysql_remove_db $db_user $db_name +ynh_mysql_remove_db $db_name $db_name #================================================= # REMOVE DEPENDENCIES