Deletion routine

The deletion procedure is not managed by SiteAppManager. If Domain User decides to delete an application from the domain, then Plesk takes control of this procedure. Nevertheless, while the deletion performs, it is possible to perform some extra operations not proposed by Plesk (e.g. logging). For this to happen, it is enough to put the preuninstall or postuninstall script to the installation package. These scripts will be called by Plesk before and after the physical deletion of application files respectively.