From abc641cda2176c2e1528a0dcbda3869d624764d3 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Wed, 16 Apr 2025 20:28:39 +0200 Subject: [PATCH] When deleting a domain, also delete the database if the domain has a database. --- bin/v-delete-database-of-domain | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/v-delete-database-of-domain b/bin/v-delete-database-of-domain index f69404c1..ef645aa0 100644 --- a/bin/v-delete-database-of-domain +++ b/bin/v-delete-database-of-domain @@ -1,8 +1,9 @@ + #!/bin/bash -# info: change domain and database owner -# options: DOMAIN USER +# info: delete database if domain has database +# options: DOMAIN # -# The function of changing domain and database ownership. +# The function for deleting database if domain has database #----------------------------------------------------------# # Variable&Function # @@ -60,7 +61,6 @@ if [ ! -z "$DATABASE_NAME" ]; then fi fi - #----------------------------------------------------------# # Vesta # #----------------------------------------------------------#