mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
StreamContext: fix syntax errors, file is unused
This commit is contained in:
parent
c9c3f3e2e5
commit
57be4f0504
@ -24,7 +24,7 @@ class StreamContext
|
|||||||
|
|
||||||
public function setCA(CA $ca)
|
public function setCA(CA $ca)
|
||||||
{
|
{
|
||||||
$this->options
|
// $this->options
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function createSslContext()
|
protected function createSslContext()
|
||||||
@ -71,7 +71,7 @@ class StreamContext
|
|||||||
$this->context = stream_context_create();
|
$this->context = stream_context_create();
|
||||||
$this->setContextOptions($this->getOptions());
|
$this->setContextOptions($this->getOptions());
|
||||||
|
|
||||||
stream_context_set_option($this->context
|
// stream_context_set_option($this->context
|
||||||
if ($this->isSsl()) {
|
if ($this->isSsl()) {
|
||||||
$this->options['ssl'] = $this->ssl()->getOptions();
|
$this->options['ssl'] = $this->ssl()->getOptions();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user