diff --git a/src/applications/audit/editor/PhabricatorAuditCommentEditor.php b/src/applications/audit/editor/PhabricatorAuditCommentEditor.php index 356663d592..671497a10e 100644 --- a/src/applications/audit/editor/PhabricatorAuditCommentEditor.php +++ b/src/applications/audit/editor/PhabricatorAuditCommentEditor.php @@ -263,9 +263,6 @@ final class PhabricatorAuditCommentEditor extends PhabricatorEditor { $this->publishFeedStory($comment, $feed_phids); } - id(new PhabricatorSearchIndexer()) - ->queueDocumentForIndexing($commit->getPHID()); - if (!$this->noEmail) { $this->sendMail( $comments, diff --git a/src/applications/audit/editor/PhabricatorAuditEditor.php b/src/applications/audit/editor/PhabricatorAuditEditor.php index 2e4a29e9b8..b16864bad2 100644 --- a/src/applications/audit/editor/PhabricatorAuditEditor.php +++ b/src/applications/audit/editor/PhabricatorAuditEditor.php @@ -111,4 +111,8 @@ final class PhabricatorAuditEditor return array_values(array_merge($head, $tail)); } + protected function supportsSearch() { + return true; + } + }