1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02: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
{
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}"))) {