1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02:00

Fix a type constant which slipped through grep

Auditors: btrahan
This commit is contained in:
epriestley 2013-07-22 17:21:20 -07:00
parent f7e1450096
commit 5f78a6953f

View file

@ -30,7 +30,7 @@ final class PhabricatorRepositoryCommitSearchIndexer
$doc = new PhabricatorSearchAbstractDocument();
$doc->setPHID($commit->getPHID());
$doc->setDocumentType(PhabricatorPHIDConstants::PHID_TYPE_CMIT);
$doc->setDocumentType(PhabricatorRepositoryPHIDTypeCommit::TYPECONST);
$doc->setDocumentCreated($date_created);
$doc->setDocumentModified($date_created);
$doc->setDocumentTitle($title);