1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 05:12:41 +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:
epriestley 2014-08-02 00:06:35 -07:00
parent 5b969fb5b8
commit b787d3ef0d
2 changed files with 4 additions and 3 deletions

View file

@ -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,

View file

@ -111,4 +111,8 @@ final class PhabricatorAuditEditor
return array_values(array_merge($head, $tail));
}
protected function supportsSearch() {
return true;
}
}