mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-10-30 17:13:36 +03:00
Removed "Verify ssl certificate" setting (#332)
Added global "labs.verify_ssl_certificate" settings (default:true) (#332) Fixed php notices
This commit is contained in:
parent
56716cb5d3
commit
ecc2bdad24
12 changed files with 53 additions and 31 deletions
|
|
@ -338,11 +338,13 @@ class Domain
|
|||
}
|
||||
|
||||
/**
|
||||
* @param bool|null $bGlobalVerify = null
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function IncVerifySsl()
|
||||
public function IncVerifySsl($bGlobalVerify = null)
|
||||
{
|
||||
return $this->bIncVerifySsl;
|
||||
return null === $bGlobalVerify ? $this->bIncVerifySsl : !!$bGlobalVerify;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -379,11 +381,13 @@ class Domain
|
|||
}
|
||||
|
||||
/**
|
||||
* @param bool|null $bGlobalVerify = null
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function OutVerifySsl()
|
||||
public function OutVerifySsl($bGlobalVerify = null)
|
||||
{
|
||||
return $this->bOutVerifySsl;
|
||||
return null === $bGlobalVerify ? $this->bOutVerifySsl : !!$bGlobalVerify;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue