revert previous commit
This commit is contained in:
parent
cb111a1fa0
commit
0e654394ec
@ -10,6 +10,7 @@ use Symfony\Component\Yaml\Yaml;
|
|||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use jv\intranet\Types\NavbarItem;
|
use jv\intranet\Types\NavbarItem;
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
|
use Symfony\Component\HttpClient\Exception\TransportException;
|
||||||
use Symfony\Component\Mailer\Exception\TransportExceptionInterface;
|
use Symfony\Component\Mailer\Exception\TransportExceptionInterface;
|
||||||
use Symfony\Component\Mailer\TransportInterface;
|
use Symfony\Component\Mailer\TransportInterface;
|
||||||
use Symfony\Component\Mailer\MailerInterface;
|
use Symfony\Component\Mailer\MailerInterface;
|
||||||
@ -49,7 +50,7 @@ class ComplaintController extends AbstractController
|
|||||||
$mailer->send($email);
|
$mailer->send($email);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch ( Error $e)
|
catch ( TransportExceptionInterface $e)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user