Page MenuHomestyx hydra

DiffusionInlineCommentPreviewController.php
No OneTemporary

DiffusionInlineCommentPreviewController.php

<?php
final class DiffusionInlineCommentPreviewController
extends PhabricatorInlineCommentPreviewController {
protected function loadInlineComments() {
$viewer = $this->getViewer();
return PhabricatorAuditInlineComment::loadDraftComments(
$viewer,
$this->getCommitPHID());
}
protected function loadObjectOwnerPHID() {
$viewer = $this->getViewer();
$commit = id(new DiffusionCommitQuery())
->setViewer($viewer)
->withPHIDs(array($this->getCommitPHID()))
->executeOne();
if (!$commit) {
return null;
}
return $commit->getAuthorPHID();
}
private function getCommitPHID() {
return $this->getRequest()->getURIData('phid');
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Nov 24, 2:20 PM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
369244
Default Alt Text
DiffusionInlineCommentPreviewController.php (712 B)

Event Timeline