Differential D15917 Diff 38333 src/applications/differential/herald/DifferentialReviewersHeraldAction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/herald/DifferentialReviewersHeraldAction.php
| Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | foreach ($phids as $phid) { | ||||
| } | } | ||||
| $current[] = $phid; | $current[] = $phid; | ||||
| } | } | ||||
| $allowed_types = array( | $allowed_types = array( | ||||
| PhabricatorPeopleUserPHIDType::TYPECONST, | PhabricatorPeopleUserPHIDType::TYPECONST, | ||||
| PhabricatorProjectProjectPHIDType::TYPECONST, | PhabricatorProjectProjectPHIDType::TYPECONST, | ||||
| PhabricatorOwnersPackagePHIDType::TYPECONST, | |||||
| ); | ); | ||||
| $targets = $this->loadStandardTargets($phids, $allowed_types, $current); | $targets = $this->loadStandardTargets($phids, $allowed_types, $current); | ||||
| if (!$targets) { | if (!$targets) { | ||||
| return; | return; | ||||
| } | } | ||||
| $phids = array_fuse(array_keys($targets)); | $phids = array_fuse(array_keys($targets)); | ||||
| ▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines | |||||