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:
parent
c7a9e2bac7
commit
854141ede8
@ -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…
Reference in New Issue
Block a user