Amit, one last thought: Instead of updating the unlink method wouldn't it be better/safer to just set cascade delete so it automatically happens and there's also a sql constraint to it?
Amit, one last thought: Instead of updating the unlink method wouldn't it be better/safer to just set cascade delete so it automatically happens and there's also a sql constraint to it?