mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
When deleting a domain, also delete the database if the domain has a database.
This commit is contained in:
parent
2c819e5bfc
commit
abc641cda2
1 changed files with 4 additions and 4 deletions
|
@ -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 #
|
||||
#----------------------------------------------------------#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue