Applied fixes from StyleCI

This commit is contained in:
Manish Verma
2016-10-17 12:28:49 +00:00
committed by StyleCI Bot
parent ec61ab6c7a
commit 00d9c1b82a
4 changed files with 17 additions and 15 deletions

View File

@@ -179,12 +179,12 @@ class PhpMailController extends Controller
$port = $from_address->sending_port;
$protocol = $from_address->sending_protocol;
$this->setServices($from_address->id, $protocol);
if($protocol=='mail'){
$username = "";
$fromname="";
$host="";
$smtpsecure ="";
$port="";
if ($protocol == 'mail') {
$username = '';
$fromname = '';
$host = '';
$smtpsecure = '';
$port = '';
}
$configs = [
'username' => $username,