1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/writefreely_ynh.git synced 2024-09-03 20:36:02 +02:00

removing not need db_user

This commit is contained in:
yalh76 2019-02-02 03:03:14 +01:00
parent 1b33686467
commit f8b3b9aeb4

View file

@ -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