refactor(models): remove unnecessary cloud check in isEnabled method
This commit is contained in:
parent
11bfc37db7
commit
63c496feee
1 changed files with 0 additions and 4 deletions
|
|
@ -70,10 +70,6 @@ public function team()
|
||||||
|
|
||||||
public function isEnabled()
|
public function isEnabled()
|
||||||
{
|
{
|
||||||
if (isCloud()) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $this->smtp_enabled || $this->resend_enabled || $this->use_instance_email_settings;
|
return $this->smtp_enabled || $this->resend_enabled || $this->use_instance_email_settings;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue