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:
parent
c63d92be72
commit
c828160c22
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue