You are here

function community_tags_condition_tagger_is_author in Community Tags 6.2

Rules condition that returns true if the user doing the tagging is the node author.

File

community_tags_rules/community_tags_rules.rules.inc, line 110
community_tags_rules.rules.inc

Code

function community_tags_condition_tagger_is_author($node, $user, $ctag) {
  return $node->uid == $user->uid;
}