Logging for gmail notifications
This commit is contained in:
parent
c7a9e2bac7
commit
854141ede8
1 changed files with 3 additions and 0 deletions
|
|
@ -428,10 +428,13 @@ class Account extends BaseModel
|
|||
|
||||
public function gmailCredentialNotification() :bool
|
||||
{
|
||||
nlog("checking if gmail credential notification has already been sent");
|
||||
|
||||
if(is_null(Cache::get($this->key)))
|
||||
return false;
|
||||
|
||||
nlog("Sending notification");
|
||||
|
||||
try {
|
||||
|
||||
if(is_null(Cache::get("gmail_credentials_notified:{$this->key}"))) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue