1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 16:52:41 +01:00

Minor, fix a constant in PhabricatorRepositoryEditor

See <https://github.com/facebook/phabricator/pull/554>
This commit is contained in:
epriestley 2014-03-26 10:45:20 -07:00
parent c63d92be72
commit c828160c22

View file

@ -318,7 +318,7 @@ final class PhabricatorRepositoryEditor
$errors = parent::validateTransaction($object, $type, $xactions);
switch ($type) {
case self::TYPE_CREDENTIAL:
case PhabricatorRepositoryTransaction::TYPE_CREDENTIAL:
$ok = PassphraseCredentialControl::validateTransactions(
$this->getActor(),
$xactions);