Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/herald/DiffusionAuditorsHeraldAction.php
Show All 32 Lines | if ($authors) { | ||||
$this->logEffect(self::DO_AUTHORS, $authors); | $this->logEffect(self::DO_AUTHORS, $authors); | ||||
if (!$phids) { | if (!$phids) { | ||||
return; | return; | ||||
} | } | ||||
} | } | ||||
$current = array(); | $current = array(); | ||||
foreach ($auditors as $auditor) { | foreach ($auditors as $auditor) { | ||||
if ($auditor->isInteresting()) { | |||||
$current[] = $auditor->getAuditorPHID(); | $current[] = $auditor->getAuditorPHID(); | ||||
} | } | ||||
} | |||||
$allowed_types = array( | $allowed_types = array( | ||||
PhabricatorPeopleUserPHIDType::TYPECONST, | PhabricatorPeopleUserPHIDType::TYPECONST, | ||||
PhabricatorProjectProjectPHIDType::TYPECONST, | PhabricatorProjectProjectPHIDType::TYPECONST, | ||||
PhabricatorOwnersPackagePHIDType::TYPECONST, | PhabricatorOwnersPackagePHIDType::TYPECONST, | ||||
); | ); | ||||
$targets = $this->loadStandardTargets($phids, $allowed_types, $current); | $targets = $this->loadStandardTargets($phids, $allowed_types, $current); | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |