mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for template emails
This commit is contained in:
parent
2ac46b7392
commit
d7f01907fa
@ -124,7 +124,7 @@ class TemplateEmail extends Mailable
|
|||||||
|
|
||||||
/*In the hosted platform we need to slow things down a little for Storage to catch up.*/
|
/*In the hosted platform we need to slow things down a little for Storage to catch up.*/
|
||||||
|
|
||||||
if(Ninja::isHosted()){
|
if(Ninja::isHosted() && $this->invitation){
|
||||||
|
|
||||||
$path = false;
|
$path = false;
|
||||||
|
|
||||||
|
@ -116,12 +116,7 @@ class VendorTemplateEmail extends Mailable
|
|||||||
})
|
})
|
||||||
->tag($this->company->company_key);
|
->tag($this->company->company_key);
|
||||||
|
|
||||||
/*In the hosted platform we need to slow things down a little for Storage to catch up.*/
|
if(Ninja::isHosted() && $this->invitation){
|
||||||
// if (Ninja::isHosted()) {
|
|
||||||
// sleep(1);
|
|
||||||
// }
|
|
||||||
|
|
||||||
if(Ninja::isHosted()){
|
|
||||||
|
|
||||||
$path = false;
|
$path = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user