This is not needed

This commit is contained in:
Alexandre Aubin 2020-04-02 23:13:25 +02:00
parent 2c9f1f89e0
commit 83a1d6dec5

View file

@ -243,7 +243,6 @@ ynh_psql_remove_db() {
# Manage arguments with getopts # Manage arguments with getopts
ynh_handle_getopts_args "$@" ynh_handle_getopts_args "$@"
local psql_root_password=$(cat $PSQL_ROOT_PWD_FILE)
if ynh_psql_database_exists --database=$db_name; then # Check if the database exists if ynh_psql_database_exists --database=$db_name; then # Check if the database exists
ynh_psql_drop_db $db_name # Remove the database ynh_psql_drop_db $db_name # Remove the database
else else