1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Logging for gmail notifications

This commit is contained in:
= 2022-05-03 09:45:40 +10:00
parent c7a9e2bac7
commit 854141ede8

View File

@ -428,10 +428,13 @@ class Account extends BaseModel
public function gmailCredentialNotification() :bool public function gmailCredentialNotification() :bool
{ {
nlog("checking if gmail credential notification has already been sent");
if(is_null(Cache::get($this->key))) if(is_null(Cache::get($this->key)))
return false; return false;
nlog("Sending notification");
try { try {
if(is_null(Cache::get("gmail_credentials_notified:{$this->key}"))) { if(is_null(Cache::get("gmail_credentials_notified:{$this->key}"))) {