Rollback for ninja mailer
This commit is contained in:
parent
51f04058df
commit
56186840f2
1 changed files with 4 additions and 4 deletions
|
|
@ -211,10 +211,10 @@ class NinjaMailerJob implements ShouldQueue
|
|||
}
|
||||
|
||||
//17-01-2022 - ensure we have a token otherwise we fail gracefully to default sending engine
|
||||
if(strlen($user->oauth_user_token) == 0){
|
||||
$this->nmo->settings->email_sending_method = 'default';
|
||||
return $this->setMailDriver();
|
||||
}
|
||||
// if(strlen($user->oauth_user_token) == 0){
|
||||
// $this->nmo->settings->email_sending_method = 'default';
|
||||
// return $this->setMailDriver();
|
||||
// }
|
||||
|
||||
$google->getClient()->setAccessToken(json_encode($user->oauth_user_token));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue