Update SSLContext.php: fixed typo in line 42, to reference correct class

The reference to class RainLoop\API is invalid, the author obviously meant class RainLoop\Api
This commit is contained in:
juschleg 2025-11-15 23:12:25 +01:00 committed by GitHub
parent ba496919dd
commit c203d15b17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,7 +39,7 @@ class SSLContext implements \JsonSerializable
public function __construct()
{
$oConfig = \RainLoop\API::Config();
$oConfig = \RainLoop\Api::Config();
$this->verify_peer = !!$oConfig->Get('ssl', 'verify_certificate', true);
$this->verify_peer_name = !!$oConfig->Get('ssl', 'verify_certificate', true);
$this->allow_self_signed = !!$oConfig->Get('ssl', 'allow_self_signed', false);