This trigger will be executed if a project is deleted by accessing the Action menu within the Projects window and clicking on Delete.
Consider checking out the equivalent in HK: DELETE