mirror of
https://github.com/nextcloud/server.git
synced 2026-06-27 09:30:36 -04:00
Fix conflicts
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
This commit is contained in:
parent
662dcfffd6
commit
8f7c7b3cc8
1 changed files with 6 additions and 1 deletions
|
|
@ -251,7 +251,12 @@ class CertificateManager implements ICertificateManager {
|
|||
$this->createCertificateBundle();
|
||||
}
|
||||
|
||||
$this->bundlePath = $this->view->getLocalFile($this->getCertificateBundle());
|
||||
$certificateBundle = $this->getCertificateBundle();
|
||||
$this->bundlePath = $this->view->getLocalFile($certificateBundle) ?: null;
|
||||
|
||||
if ($this->bundlePath === null) {
|
||||
throw new \RuntimeException('Unable to get certificate bundle "' . $certificateBundle . '".');
|
||||
}
|
||||
}
|
||||
return $this->bundlePath;
|
||||
} catch (\Exception $e) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue