Skip to content

EspoCRM – Open Source CRM Application

oauth abstract, get ping url not implemented, not abstract

Yuri Kuznetsov45f1c4ac38aa
diff --git a/application/Espo/Core/ExternalAccount/Clients/OAuth2Abstract.php b/application/Espo/Core/ExternalAccount/Clients/OAuth2Abstract.php
index bd1ef5ff17..ed076d17c9 100644
--- a/application/Espo/Core/ExternalAccount/Clients/OAuth2Abstract.php
+++ b/application/Espo/Core/ExternalAccount/Clients/OAuth2Abstract.php
@@ -38,6 +38,7 @@ use Espo\Core\Utils\Log;
use Exception;
use DateTime;
+use LogicException;
abstract class OAuth2Abstract implements IClient
{
@@ -259,7 +260,10 @@ abstract class OAuth2Abstract implements IClient
/**
* @return string
*/
- abstract protected function getPingUrl();
+ protected function getPingUrl()
+ {
+ throw new LogicException("Ping is not implemented.");
+ }
/**
* @return bool