mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 04:48:39 +08:00

A `UserHistory` entry will now be created when an automation is destroyed. This is visible in `/admin/logs/staff_action_logs`. id, name, trigger and script will be logged. This commit also creates a service `DestroyAutomation` to hold all the destroy automation logic. --------- Co-authored-by: Martin Brennan <mjrbrennan@gmail.com>