An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
refactor(models): remove unnecessary cloud check in isEnabled method
Andras Bacsai63c496feeecd
diff --git a/app/Models/EmailNotificationSettings.php b/app/Models/EmailNotificationSettings.phpindex ae118986fc..4459876195 100644--- a/app/Models/EmailNotificationSettings.php+++ b/app/Models/EmailNotificationSettings.php@@ -70,10 +70,6 @@ class EmailNotificationSettings extends Modelpublic function isEnabled(){- if (isCloud()) {- return true;- }-return $this->smtp_enabled || $this->resend_enabled || $this->use_instance_email_settings;}}