mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
932bd6ba85
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>