1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 05:12:41 +01:00

Fix "Resign as Reviewer" to appear only when actually a Reviewer

Summary: Is this an appropriate place to say "herp derp?"

Test Plan: Check for Resign as Reviewer for the following table
                          waiting for review | accepted | committed
Am actually reviewer
Am not reviewer but CC'ed
Unrelated

Reviewers: epriestley

CC:

Differential Revision: 140
This commit is contained in:
adonohue 2011-04-14 15:10:51 -07:00
parent bc1be958bd
commit 9757edb268

View file

@ -506,7 +506,7 @@ class DifferentialRevisionViewController extends DifferentialController {
$actions[DifferentialAction::ACTION_ADDREVIEWERS] = true; $actions[DifferentialAction::ACTION_ADDREVIEWERS] = true;
return array_keys($actions); return array_keys(array_filter($actions));
} }
private function loadInlineComments(array $comments, array &$changesets) { private function loadInlineComments(array $comments, array &$changesets) {