/**
  * @see PMRuleAction::execute()
  */
 public function execute(PMEditor $pm, PMRule $rule, UserProfile $recipient)
 {
     $sql = "UPDATE\twcf" . WCF_N . "_pm_to_user\n\t\t\tSET \tisViewed = " . TIME_NOW . ",\n\t\t\t\tuserWasNotified = 1\n\t\t\tWHERE \tpmID = " . $pm->pmID . "\n\t\t\t\tAND recipientID = " . $recipient->userID;
     WCF::getDB()->sendQuery($sql);
     $pm->updateViewedByAll();
     $pm->updateUnreadMessageCount($recipient->userID);
     Session::resetSessions($recipient->userID);
     return true;
 }