Differential D14837 Diff 35892 src/applications/repository/search/PhabricatorRepositoryCommitSearchIndexer.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/search/PhabricatorRepositoryCommitSearchIndexer.php
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | protected function buildAbstractDocumentByPHID($phid) { | ||||
} | } | ||||
$doc->addRelationship( | $doc->addRelationship( | ||||
PhabricatorSearchRelationship::RELATIONSHIP_REPOSITORY, | PhabricatorSearchRelationship::RELATIONSHIP_REPOSITORY, | ||||
$repository->getPHID(), | $repository->getPHID(), | ||||
PhabricatorRepositoryRepositoryPHIDType::TYPECONST, | PhabricatorRepositoryRepositoryPHIDType::TYPECONST, | ||||
$date_created); | $date_created); | ||||
$this->indexTransactions( | |||||
$doc, | |||||
new PhabricatorAuditTransactionQuery(), | |||||
array($commit->getPHID())); | |||||
return $doc; | return $doc; | ||||
} | } | ||||
} | } |