Fix return value in SmtpTransport

This commit is contained in:
Mark Scherer 2015-12-19 15:57:53 +01:00
parent 0668cc6ff1
commit 4136857278

View file

@ -369,7 +369,7 @@ class SmtpTransport extends AbstractTransport {
if ($code[2] === '-') {
continue;
}
return $code[1];
return;
}
throw new SocketException(__d('cake_dev', 'SMTP Error: %s', $response));
}