Skip to content

EspoCRM – Open Source CRM Application

cleanup

Yuri Kuznetsov587ab9a4928d
diff --git a/application/Espo/Core/Mail/Account/SendingAccountProvider.php b/application/Espo/Core/Mail/Account/SendingAccountProvider.php
index 5d97cde104..80e8ad42e9 100644
--- a/application/Espo/Core/Mail/Account/SendingAccountProvider.php
+++ b/application/Espo/Core/Mail/Account/SendingAccountProvider.php
@@ -122,7 +122,7 @@ class SendingAccountProvider
try {
return $this->groupAccountFactory->create($entity->getId());
- } catch (Error $e) {
+ } catch (Error) {
throw new RuntimeException();
}
}
@@ -153,7 +153,7 @@ class SendingAccountProvider
try {
return $this->groupAccountFactory->create($entity->getId());
- } catch (Error $e) {
+ } catch (Error) {
throw new RuntimeException();
}
}
@@ -195,7 +195,7 @@ class SendingAccountProvider
try {
return $this->personalAccountFactory->create($entity->getId());
- } catch (Error $e) {
+ } catch (Error) {
throw new RuntimeException();
}
}
@@ -250,7 +250,7 @@ class SendingAccountProvider
try {
$this->system = $this->groupAccountFactory->create($entity->getId());
- } catch (Error $e) {
+ } catch (Error) {
throw new RuntimeException();
}
}