mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 13:22:42 +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);
|
$this->publishFeedStory($comment, $feed_phids);
|
||||||
}
|
}
|
||||||
|
|
||||||
id(new PhabricatorSearchIndexer())
|
|
||||||
->queueDocumentForIndexing($commit->getPHID());
|
|
||||||
|
|
||||||
if (!$this->noEmail) {
|
if (!$this->noEmail) {
|
||||||
$this->sendMail(
|
$this->sendMail(
|
||||||
$comments,
|
$comments,
|
||||||
|
|
|
@ -111,4 +111,8 @@ final class PhabricatorAuditEditor
|
||||||
return array_values(array_merge($head, $tail));
|
return array_values(array_merge($head, $tail));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected function supportsSearch() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue