We walk a subtree (why?) of the hiearchy; everything below the passed-in record. If any nodes in the tree have an onParentResults
handler, we call it.
We walk the entire changeset. If any records in the changeset have an onParentResults
handler and the passed-in record's ID in the parents
array, we call the handler. Note that the parent
check is part of the current logic, so that's not really a change. With that said, it is much more important if we're not walking a tree, in that it's the only thing ensuring that the changeset record is an ancestor of the one being changed.