mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-23 21:18:19 +01:00
903e37a21b
Summary: Fixes T6660. Uses the new stuff in Audit to build an EditEngine-aware icon. Test Plan: {F2364304} Reviewers: chad Reviewed By: chad Maniphest Tasks: T6660 Differential Revision: https://secure.phabricator.com/D17208
18 lines
359 B
PHP
18 lines
359 B
PHP
<?php
|
|
|
|
final class DiffusionCommitDraftEngine
|
|
extends PhabricatorDraftEngine {
|
|
|
|
protected function hasCustomDraftContent() {
|
|
$viewer = $this->getViewer();
|
|
$commit = $this->getObject();
|
|
|
|
$inlines = PhabricatorAuditInlineComment::loadDraftComments(
|
|
$viewer,
|
|
$commit->getPHID(),
|
|
$raw = true);
|
|
|
|
return (bool)$inlines;
|
|
}
|
|
|
|
}
|