Fix "Accepted" status constant in landing
Summary: I didn't test the positive version of this -- the constant has value `2` but when we read it from the database it's `"2"` or whatever. Just do this for now and maybe someday we'll use strings. Test Plan: will do production things Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D14352
This commit is contained in:
@@ -234,7 +234,7 @@ final class DrydockLandRepositoryOperation
|
||||
}
|
||||
|
||||
$status_accepted = ArcanistDifferentialRevisionStatus::ACCEPTED;
|
||||
if ($revision->getStatus() !== $status_accepted) {
|
||||
if ($revision->getStatus() != $status_accepted) {
|
||||
return array(
|
||||
'title' => pht('Revision Not Accepted'),
|
||||
'body' => pht(
|
||||
|
||||
Reference in New Issue
Block a user