Page MenuHomestyx hydra

DiffusionInlineCommentPreviewController.php
No OneTemporary

DiffusionInlineCommentPreviewController.php

<?php
final class DiffusionInlineCommentPreviewController
extends PhabricatorInlineCommentPreviewController {
private $commitPHID;
public function willProcessRequest(array $data) {
$this->commitPHID = $data['phid'];
}
protected function loadInlineComments() {
$user = $this->getRequest()->getUser();
$inlines = id(new PhabricatorAuditInlineComment())->loadAllWhere(
'authorPHID = %s AND commitPHID = %s AND auditCommentID IS NULL',
$user->getPHID(),
$this->commitPHID);
return $inlines;
}
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Nov 5, 3:16 PM (4 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
315843
Default Alt Text
DiffusionInlineCommentPreviewController.php (543 B)

Event Timeline