From 4b835bf947f7fa6eea9bbf25a20eb7e51bb2ebf3 Mon Sep 17 00:00:00 2001 From: Dawid Pych Date: Fri, 20 Jan 2017 23:11:45 +0100 Subject: [PATCH] Remove not defined method --- classes/Kohana/Email.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/Kohana/Email.php b/classes/Kohana/Email.php index 85600aa..d04acc7 100644 --- a/classes/Kohana/Email.php +++ b/classes/Kohana/Email.php @@ -121,8 +121,8 @@ public function __construct($name, array $config) if ( ! empty($config['options']['encryption'])) { // Set encryption - $transport->setEncryption($config['options']['encryption']) - ->setStreamOptions(array('ssl' => array('verify_peer' => FALSE, 'verify_peer_name' => FALSE))); + $transport->setEncryption($config['options']['encryption']); +// ->setStreamOptions(array('ssl' => array('verify_peer' => FALSE, 'verify_peer_name' => FALSE))); } // Do authentication, if part of the DSN