mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
external account client manager using factory
This commit is contained in:
@@ -248,10 +248,8 @@ class ClientManager
|
||||
$params[$k] = $v;
|
||||
}
|
||||
|
||||
$client = new $className($oauth2Client, $params, $this);
|
||||
|
||||
if ($this->injectableFactory) {
|
||||
$this->injectableFactory->createWith($className, [
|
||||
$client = $this->injectableFactory->createWith($className, [
|
||||
'client' => $oauth2Client,
|
||||
'params' => $params,
|
||||
'manager' => $this,
|
||||
|
||||
Reference in New Issue
Block a user