mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 18:34:30 -04:00
Merge pull request #6327 from turbo124/v5-develop
Remove email time delays
This commit is contained in:
commit
d236483e9c
@ -131,8 +131,8 @@ class EmailController extends BaseController
|
|||||||
|
|
||||||
$entity_obj->service()->markSent()->save();
|
$entity_obj->service()->markSent()->save();
|
||||||
|
|
||||||
EmailEntity::dispatch($invitation->fresh(), $invitation->company, $template, $data)
|
EmailEntity::dispatch($invitation->fresh(), $invitation->company, $template, $data);
|
||||||
->delay(now()->addSeconds(45));
|
// ->delay(now()->addSeconds(45));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,10 +30,8 @@ class CompanyPresenter extends EntityPresenter
|
|||||||
//return $this->entity->name ?: ctrans('texts.untitled_account');
|
//return $this->entity->name ?: ctrans('texts.untitled_account');
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
@deprecated
|
public function logo($settings = null)
|
||||||
*/
|
|
||||||
public function logo2($settings = null)
|
|
||||||
{
|
{
|
||||||
if (! $settings) {
|
if (! $settings) {
|
||||||
$settings = $this->entity->settings;
|
$settings = $this->entity->settings;
|
||||||
@ -48,7 +46,10 @@ class CompanyPresenter extends EntityPresenter
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function logo($settings = null)
|
/**
|
||||||
|
* Test for using base64 encoding
|
||||||
|
*/
|
||||||
|
public function logo2($settings = null)
|
||||||
{
|
{
|
||||||
if (! $settings) {
|
if (! $settings) {
|
||||||
$settings = $this->entity->settings;
|
$settings = $this->entity->settings;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user