Client delete doesn't delete/drop the client's databases
Summary
When you delete a client and all his data, the databases doesn't get deleted and dropped.
Steps to reproduce
- Create a client
- Create a web site
- Create a database for the web site and an user for the database
- Delete the client confirming to delete all his data.
Correct behaviour
All resources of the client should be deleted including the databases.
Environment
Server OS + version: (Debian 10)
ISPConfig version: 3.2.8p1
Software version of the related software:
Server version: Apache/2.4.53 (Debian)
Server built: 2022-03-14T16:28:35
PHP 7.4.30 (cli) (built: Jun 14 2022 10:31:12) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with SourceGuardian v13.0.0, Copyright (c) 2000-2022, by SourceGuardian Ltd.
with Zend OPcache v7.4.30, Copyright (c), by Zend Technologies
Proposed fix
If file interface/web/client/client_del.php add web_database in the $tables array