sembrestels/Elgg — comment on commit 0acf8d3acdf28d663951873d99001550af6d2f25
File:  line 0
By cash:

You had the $e->enable() in the correct place the first time! Those entities should be enabled before remove_entity_relationship is called in case a callback wants to access them. Sorry for the confusion on that. I should have made that clear in my first comment.