When deleting a domain, also delete the database if the domain has a database.

This commit is contained in:
myvesta 2025-04-16 20:28:39 +02:00 committed by GitHub
parent 2c819e5bfc
commit abc641cda2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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