sites_database_add doesn't set the sys_groupid parameter
The Remote-API-Function sites_database_add doesn't set the sys_groupid.
Issue 1: Databases created over the API for a Client can't be deleted recursively with the Client. Issue 2: Remote Function client_get_by_username din't work for Databases created over the API.
Because of no entry in the database.tform.php there is no workaround to set it over the submitted parameters.
In the remoting.lib.php is a call $app->sites_database_plugin->processDatabaseInsert($this); who seems to do something about sys_groupid, but all the code in the sites_database_plugin.php is commented out.