Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/search/PhabricatorUserSearchIndexer.php
| Show All 19 Lines | protected function buildAbstractDocumentByPHID($phid) { | ||||
| $doc->addRelationship( | $doc->addRelationship( | ||||
| $user->isUserActivated() | $user->isUserActivated() | ||||
| ? PhabricatorSearchRelationship::RELATIONSHIP_OPEN | ? PhabricatorSearchRelationship::RELATIONSHIP_OPEN | ||||
| : PhabricatorSearchRelationship::RELATIONSHIP_CLOSED, | : PhabricatorSearchRelationship::RELATIONSHIP_CLOSED, | ||||
| $user->getPHID(), | $user->getPHID(), | ||||
| PhabricatorPeoplePHIDTypeUser::TYPECONST, | PhabricatorPeoplePHIDTypeUser::TYPECONST, | ||||
| time()); | time()); | ||||
| $this->indexCustomFields($doc, $user); | |||||
| return $doc; | return $doc; | ||||
| } | } | ||||
| } | } | ||||