1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-01 01:18:22 +01:00
phorge-phorge/src/applications/differential/controller/DifferentialInlineCommentPreviewController.php

23 lines
489 B
PHP
Raw Normal View History

2011-02-02 19:38:43 -08:00
<?php
final class DifferentialInlineCommentPreviewController
extends PhabricatorInlineCommentPreviewController {
2011-02-02 19:38:43 -08:00
private $revisionID;
public function willProcessRequest(array $data) {
$this->revisionID = $data['id'];
}
protected function loadInlineComments() {
$user = $this->getRequest()->getUser();
2011-02-02 19:38:43 -08:00
$inlines = id(new DifferentialInlineCommentQuery())
->withDraftComments($user->getPHID(), $this->revisionID)
->execute();
2011-02-02 19:38:43 -08:00
return $inlines;
2011-02-02 19:38:43 -08:00
}
}