mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-27 16:00:59 +01:00
Fix error creating repository from file:/// location, due to uninitialized variable.
Summary: This was broken in rP51fb1ca16d7f. Test Plan: Imported a repository with file:/// location, it worked. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley CC: Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D7636
This commit is contained in:
parent
b87a35c15e
commit
2a65b3020e
1 changed files with 2 additions and 0 deletions
|
@ -581,6 +581,8 @@ final class DiffusionRepositoryCreateController
|
|||
'credential');
|
||||
} else if ($proto == 'file') {
|
||||
$c_credential->setHidden(true);
|
||||
$provides_type = null;
|
||||
|
||||
$page->addRemarkupInstructions(
|
||||
pht(
|
||||
'You do not need to configure any credentials for repositories '.
|
||||
|
|
Loading…
Reference in a new issue