1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 22:10:55 +01:00

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:
epriestley 2015-10-27 12:06:48 -07:00
parent 1c7443f8f2
commit 198bf1198d

View file

@ -234,7 +234,7 @@ final class DrydockLandRepositoryOperation
} }
$status_accepted = ArcanistDifferentialRevisionStatus::ACCEPTED; $status_accepted = ArcanistDifferentialRevisionStatus::ACCEPTED;
if ($revision->getStatus() !== $status_accepted) { if ($revision->getStatus() != $status_accepted) {
return array( return array(
'title' => pht('Revision Not Accepted'), 'title' => pht('Revision Not Accepted'),
'body' => pht( 'body' => pht(