function _node_entity_diff_additional_options_author in Diff 7.3
Private callback function to render the author field.
File
- includes/
node.inc, line 68 - Provide diff functions for the node module.
Code
function _node_entity_diff_additional_options_author($old_node, $new_node, $context) {
$old_author = user_load($old_node->uid);
$new_author = user_load($new_node->uid);
return _node_entity_diff_additional_options_account(t('Author'), $old_author, $new_author, $context, -4);
}