mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-18 17:58:37 +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');
|
'credential');
|
||||||
} else if ($proto == 'file') {
|
} else if ($proto == 'file') {
|
||||||
$c_credential->setHidden(true);
|
$c_credential->setHidden(true);
|
||||||
|
$provides_type = null;
|
||||||
|
|
||||||
$page->addRemarkupInstructions(
|
$page->addRemarkupInstructions(
|
||||||
pht(
|
pht(
|
||||||
'You do not need to configure any credentials for repositories '.
|
'You do not need to configure any credentials for repositories '.
|
||||||
|
|
Loading…
Add table
Reference in a new issue