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

missing domain paramater

This commit is contained in:
polytan02 2017-02-24 23:47:34 +00:00
parent 568fd6837f
commit f331b643b5

View file

@ -1,7 +1,6 @@
#!/bin/bash
# Exit on command errors and treat unset variables as an error
app=$YNH_APP_INSTANCE_NAME
# Source app helpers
source /usr/share/yunohost/helpers
@ -59,6 +58,10 @@ REMOVE_BDD () { # Suppression de la base de donnée et de l'utilisateur associé
fi
}
# Retrieve parameters
app=$YNH_APP_INSTANCE_NAME
domain=$(ynh_app_setting_get "$app" domain)
# Drop MySQL database and user
REMOVE_BDD "$app"