Merge pull request #24260 from nextcloud/backport/24257/stable19
[stable19] Simple typo in comments
This commit is contained in:
commit
7d2968aca0
|
@ -98,7 +98,7 @@ class Client implements IClient {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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)) {
|
if ($this->config->getSystemValue('installed', false)) {
|
||||||
return $this->certificateManager->getAbsoluteBundlePath(null);
|
return $this->certificateManager->getAbsoluteBundlePath(null);
|
||||||
|
@ -160,7 +160,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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue