mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Use standard infrastructure for Audit search indexing
Summary: Ref T4896. Test Plan: Made an unusual comment, then found it by searching. Reviewers: btrahan, joshuaspence Reviewed By: btrahan, joshuaspence Subscribers: epriestley Maniphest Tasks: T4896 Differential Revision: https://secure.phabricator.com/D10110
This commit is contained in:
parent
5b969fb5b8
commit
b787d3ef0d
2 changed files with 4 additions and 3 deletions
|
@ -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,
|
||||
|
|
|
@ -111,4 +111,8 @@ final class PhabricatorAuditEditor
|
|||
return array_values(array_merge($head, $tail));
|
||||
}
|
||||
|
||||
protected function supportsSearch() {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue