edx/edx-platform — pull request #6226 by adampalay (2014-12-11 21:23:10+00:00)
Title: only recusively delete modules if all their parents are marked for delet...

...ion (PLAT-333)

@dmitchell , may you please take a first look? I changed the tests a bit, and and added a management command. But otherwise the change is quite small