private function canEditInlineComment(PhabricatorUser $user, DifferentialInlineComment $inline)
 {
     // Only the author may edit a comment.
     if ($inline->getAuthorPHID() != $user->getPHID()) {
         return false;
     }
     // Saved comments may not be edited.
     if ($inline->getCommentID()) {
         return false;
     }
     // Inline must be attached to the active revision.
     if ($inline->getRevisionID() != $this->revisionID) {
         return false;
     }
     return true;
 }
 private function canEditInlineComment(PhabricatorUser $user, DifferentialInlineComment $inline)
 {
     // Only the author may edit a comment.
     if ($inline->getAuthorPHID() != $user->getPHID()) {
         return false;
     }
     // Saved comments may not be edited, for now, although the schema now
     // supports it.
     if (!$inline->isDraft()) {
         return false;
     }
     // Inline must be attached to the active revision.
     if ($inline->getRevisionID() != $this->getRevisionID()) {
         return false;
     }
     return true;
 }