Differential D8202 Diff 18561 src/applications/differential/conduit/ConduitAPI_differential_query_Method.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/conduit/ConduitAPI_differential_query_Method.php
Show First 20 Lines • Show All 158 Lines • ▼ Show 20 Lines | protected function execute(ConduitAPIRequest $request) { | ||||
} | } | ||||
if ($phids) { | if ($phids) { | ||||
$query->withPHIDs($phids); | $query->withPHIDs($phids); | ||||
} | } | ||||
if ($responsible_users) { | if ($responsible_users) { | ||||
$query->withResponsibleUsers($responsible_users); | $query->withResponsibleUsers($responsible_users); | ||||
} | } | ||||
if ($subscribers) { | if ($subscribers) { | ||||
$query->withSubscribers($subscribers); | $query->withCCs($subscribers); | ||||
} | } | ||||
if ($branches) { | if ($branches) { | ||||
$query->withBranches($branches); | $query->withBranches($branches); | ||||
} | } | ||||
if ($arc_projects) { | if ($arc_projects) { | ||||
// This is sort of special-cased, but don't make arc do an extra round | // This is sort of special-cased, but don't make arc do an extra round | ||||
// trip. | // trip. | ||||
$projects = id(new PhabricatorRepositoryArcanistProject()) | $projects = id(new PhabricatorRepositoryArcanistProject()) | ||||
▲ Show 20 Lines • Show All 85 Lines • Show Last 20 Lines |