diff --git a/scripts/remove b/scripts/remove index c7fe936..e2cca67 100755 --- a/scripts/remove +++ b/scripts/remove @@ -29,7 +29,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) #================================================= @@ -64,7 +63,7 @@ ynh_remove_systemd_config #================================================= # 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 APP MAIN DIR