Story #7832: [EPIC] As a user, I have Alternate Content Sources
ACS content isn't cleaned up with orphan removal
Steps to reproduce:
- Create an ACS and refresh it
- Observe the new content units
- Remove the ACS
- Run orphan cleanup
- Observe that ACS's content is still present
This is because the ACS repos aren't cleaned up when the ACS is deleted. We have a many-to-many relationship between ACS and repos and cascade deletion doesn't work.
I think we should probably add a hook on ACS delete to delete the repos as well.