-
Alfredo Di Napoli authored
This commit fixes corpus cascade deletion (which also deletes the associated contexts if necessary) but removing two spurious calls to `Doc.add` which were performed on the `masterCorpusId`, which means that we would never leave contexts dangling because there would always be a faux association with the master corpus ID. This commit fixes that as well as implementing proper cascade deletion.