From e2b0c9457ebafbcd7a6f2f26e1541417bc2bd25d Mon Sep 17 00:00:00 2001 From: colemanw Date: Mon, 2 Oct 2023 14:40:35 -0400 Subject: [PATCH] Oauth - Remove redundant constructor overrides --- .../Civi/Api4/Action/OAuthClient/AbstractGrantAction.php | 4 ---- ext/oauth-client/Civi/Api4/Action/OAuthSysToken/Refresh.php | 4 ---- 2 files changed, 8 deletions(-) diff --git a/ext/oauth-client/Civi/Api4/Action/OAuthClient/AbstractGrantAction.php b/ext/oauth-client/Civi/Api4/Action/OAuthClient/AbstractGrantAction.php index a5b2240cad..bc9106e332 100644 --- a/ext/oauth-client/Civi/Api4/Action/OAuthClient/AbstractGrantAction.php +++ b/ext/oauth-client/Civi/Api4/Action/OAuthClient/AbstractGrantAction.php @@ -47,10 +47,6 @@ abstract class AbstractGrantAction extends \Civi\Api4\Generic\AbstractBatchActio */ private $clientDef = NULL; - public function __construct($entityName, $actionName) { - parent::__construct($entityName, $actionName, ['*']); - } - /** * @throws \CRM_Core_Exception */ diff --git a/ext/oauth-client/Civi/Api4/Action/OAuthSysToken/Refresh.php b/ext/oauth-client/Civi/Api4/Action/OAuthSysToken/Refresh.php index 3c75a94556..5f7164e9cd 100644 --- a/ext/oauth-client/Civi/Api4/Action/OAuthSysToken/Refresh.php +++ b/ext/oauth-client/Civi/Api4/Action/OAuthSysToken/Refresh.php @@ -41,10 +41,6 @@ class Refresh extends BasicBatchAction { private $selectFields = ['id', 'client_id', 'access_token', 'refresh_token', 'expires', 'token_type', 'raw']; private $providers = []; - public function __construct($entityName, $actionName) { - parent::__construct($entityName, $actionName); - } - protected function getSelect() { return $this->selectFields; } -- 2.25.1