From a3881ef67bfbc40c9d636fae11cbd04432d92bcb Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Sun, 14 Sep 2025 12:01:35 +0200 Subject: [PATCH] Clean code --- htdocs/admin/mails.php | 4 +--- htdocs/admin/system/phpinfo.php | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/htdocs/admin/mails.php b/htdocs/admin/mails.php index d00aa02fe70..37435f6b0cb 100644 --- a/htdocs/admin/mails.php +++ b/htdocs/admin/mails.php @@ -201,9 +201,7 @@ $head = email_admin_prepare_head(); $listofmethods = array(); $listofmethods['mail'] = 'PHP mail function'; $listofmethods['smtps'] = 'SMTP/SMTPS socket library'; -if (version_compare(phpversion(), '7.0', '>=')) { - $listofmethods['swiftmailer'] = 'Swift Mailer socket library'; -} +$listofmethods['swiftmailer'] = 'Swift Mailer socket library'; // List of oauth services $oauthservices = array(); diff --git a/htdocs/admin/system/phpinfo.php b/htdocs/admin/system/phpinfo.php index 94fb2f07489..80c3e2d55a4 100644 --- a/htdocs/admin/system/phpinfo.php +++ b/htdocs/admin/system/phpinfo.php @@ -252,7 +252,6 @@ print ""; $functions = array(); $name = "xDebug"; - print ""; print "".$name.""; print getResultColumn($name, $activatedExtensions, $loadedExtensions, $functions);