mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2026-01-09 01:00:51 -05: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.*/
|
||||
|
||||
if(Ninja::isHosted()){
|
||||
if(Ninja::isHosted() && $this->invitation){
|
||||
|
||||
$path = false;
|
||||
|
||||
|
||||
@ -116,12 +116,7 @@ class VendorTemplateEmail extends Mailable
|
||||
})
|
||||
->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()) {
|
||||
// sleep(1);
|
||||
// }
|
||||
|
||||
if(Ninja::isHosted()){
|
||||
if(Ninja::isHosted() && $this->invitation){
|
||||
|
||||
$path = false;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user