Skip to content

A free open source IT asset/license management system

Small refactor for Setting method

snipea9441521a40e
diff --git a/app/Models/Setting.php b/app/Models/Setting.php
index 751faa80f5..a745234b7a 100755
--- a/app/Models/Setting.php
+++ b/app/Models/Setting.php
@@ -79,14 +79,11 @@ class Setting extends Model
public static function getDefaultEula()
{
-
$Parsedown = new \Parsedown();
if (Setting::getSettings()->default_eula_text) {
return $Parsedown->text(e(Setting::getSettings()->default_eula_text));
- } else {
- return null;
}
-
+ return null;
}
/**