Something went wrong. Try again.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
Something went wrong. Try again.
543 B · 22 lines
PHP
at commit dcd7a316
1234567891011121314151617181920212223<?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; }}