|
@@ -42,18 +42,18 @@ fi
|
|
|
ynh_remove_systemd_config
|
|
|
|
|
|
#=================================================
|
|
|
-# REMOVE DEPENDENCIES
|
|
|
+# REMOVE THE MYSQL DATABASE
|
|
|
#=================================================
|
|
|
|
|
|
-# Remove metapackage and its dependencies
|
|
|
-ynh_remove_app_dependencies
|
|
|
+# Remove a database if it exists, along with the associated user
|
|
|
+ynh_mysql_remove_db $db_user $db_name
|
|
|
|
|
|
#=================================================
|
|
|
-# REMOVE THE MYSQL DATABASE
|
|
|
+# REMOVE DEPENDENCIES
|
|
|
#=================================================
|
|
|
|
|
|
-# Remove a database if it exists, along with the associated user
|
|
|
-ynh_mysql_remove_db $db_user $db_name
|
|
|
+# Remove metapackage and its dependencies
|
|
|
+ynh_remove_app_dependencies
|
|
|
|
|
|
#=================================================
|
|
|
# REMOVE APP MAIN DIR
|