mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
Simple typo in comments
This commit is contained in:
parent
691409cdec
commit
a42eb05a35
1 changed files with 2 additions and 2 deletions
|
|
@ -99,7 +99,7 @@ class Client implements IClient {
|
|||
|
||||
private function getCertBundle(): string {
|
||||
// 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
|
||||
if ($this->config->getSystemValue('installed', false) === false) {
|
||||
return \OC::$SERVERROOT . '/resources/config/ca-bundle.crt';
|
||||
|
|
@ -161,7 +161,7 @@ class Client implements IClient {
|
|||
}
|
||||
|
||||
$host = strtolower($host);
|
||||
// remove brackets from IPv6 addresses
|
||||
// Remove brackets from IPv6 addresses
|
||||
if (strpos($host, '[') === 0 && substr($host, -1) === ']') {
|
||||
$host = substr($host, 1, -1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue