mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-24 05:28:18 +01:00
19 lines
359 B
PHP
19 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;
|
||
|
}
|
||
|
|
||
|
}
|