Differential D18398 Diff 44240 src/applications/differential/xaction/DifferentialRevisionAcceptTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/xaction/DifferentialRevisionAcceptTransaction.php
| Show First 20 Lines • Show All 97 Lines • ▼ Show 20 Lines | foreach ($reviewers as $reviewer) { | ||||
| continue; | continue; | ||||
| } | } | ||||
| } | } | ||||
| if (!$include_accepted) { | if (!$include_accepted) { | ||||
| if ($reviewer->isAccepted($diff_phid)) { | if ($reviewer->isAccepted($diff_phid)) { | ||||
| // If a reviewer is already in a full "accepted" state, don't | // If a reviewer is already in a full "accepted" state, don't | ||||
| // include that reviewer as an option unless we're listing all | // include that reviewer as an option unless we're listing all | ||||
| // reviwers, including reviewers who have already accepted. | // reviewers, including reviewers who have already accepted. | ||||
| continue; | continue; | ||||
| } | } | ||||
| } | } | ||||
| $reviewer_phids[$reviewer_phid] = $reviewer_phid; | $reviewer_phids[$reviewer_phid] = $reviewer_phid; | ||||
| } | } | ||||
| $handles = $viewer->loadHandles($reviewer_phids); | $handles = $viewer->loadHandles($reviewer_phids); | ||||
| ▲ Show 20 Lines • Show All 117 Lines • Show Last 20 Lines | |||||