mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 08:45:13 +08:00

- Extracts certain logic to private methods and remove unnecessary comments - Extracts email enqueueing methods into a separate class - Fix specs involving UserEmailObserver to call #after_commit instead of the specific methods