You are here

function rb_comment_action_change_owner in Rules Bonus Pack 6

Action for 'rb_comment_action_change_owner'.

File

./rb_comment.module, line 37
Functions for extending comment management with Rules.

Code

function rb_comment_action_change_owner($comment, $account) {
  $comment->uid = $account->uid;
  return array(
    'comment' => $comment,
  );
}