Convert tform events from client domain edit to plugin
While working on the domains_domain_update api function in !845 (merged) I noticed that events didn't trigger like when updating a client domain via the webUI.
tform actions are not executed by the api. The api executes plugins but this code was written before the interface plugins were introduced in ispconfig. So basically the code needs to be migrated to a plugin. But we will have to be careful to not break existing API applications which do the changes on their own.
Another related issue:
- #3997 - maildeliver plugin
the code in onAfterUpdate() in interface/web/client/domain_edit.php would have to go to I guess a new file interface/lib/plugins/client_domain_plugin.inc.php
An example for the structure could be in ./interface/lib/plugins/mail_mail_domain_plugin.inc.php