Merge pull request #24259 from nextcloud/backport/24257/stable20

[stable20] Simple typo in comments
This commit is contained in:
Morris Jobke 2020-11-20 21:29:15 +01:00 committed by GitHub
commit 72ba3dfe3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ class Client implements IClient {
private function getCertBundle(): string { private function getCertBundle(): string {
// If the instance is not yet setup we need to use the static path as // If the instance is not yet setup we need to use the static path as
// $this->certificateManager->getAbsoluteBundlePath() tries to instantiiate // $this->certificateManager->getAbsoluteBundlePath() tries to instantiate
// a view // a view
if ($this->config->getSystemValue('installed', false) === false) { if ($this->config->getSystemValue('installed', false) === false) {
return \OC::$SERVERROOT . '/resources/config/ca-bundle.crt'; return \OC::$SERVERROOT . '/resources/config/ca-bundle.crt';
@ -165,7 +165,7 @@ class Client implements IClient {
} }
$host = strtolower($host); $host = strtolower($host);
// remove brackets from IPv6 addresses // Remove brackets from IPv6 addresses
if (strpos($host, '[') === 0 && substr($host, -1) === ']') { if (strpos($host, '[') === 0 && substr($host, -1) === ']') {
$host = substr($host, 1, -1); $host = substr($host, 1, -1);
} }