/**
  * Retrieve commentator recipients for a given artifact
  *
  * @param Tracker_Artifact $artifact
  *
  * @return Array of PFUser
  */
 function getRecipientsFromArtifact(Tracker_Artifact $artifact)
 {
     $recipients = array();
     $userManager = $artifact->getUserManager();
     $recipientIds = $artifact->getCommentators();
     foreach ($recipientIds as $recipientId) {
         $user = $userManager->getUserByIdentifier($recipientId);
         if ($user) {
             $recipients[$recipientId] = $user;
         }
     }
     return $recipients;
 }