From 40211f3d0748983c294dcfffa56f4022bd69d28e Mon Sep 17 00:00:00 2001 From: Thomas Lehmann Date: Thu, 7 Nov 2024 11:05:11 +0100 Subject: [PATCH] chore(Mailer): remove no-op local variable initilization The IDE hinted the value is immediately overwritten. Signed-off-by: Thomas Lehmann --- lib/private/Mail/Mailer.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/private/Mail/Mailer.php b/lib/private/Mail/Mailer.php index b0c08815f1e..b660ee0c02f 100644 --- a/lib/private/Mail/Mailer.php +++ b/lib/private/Mail/Mailer.php @@ -255,8 +255,6 @@ class Mailer implements IMailer { return $this->instance; } - $transport = null; - switch ($this->config->getSystemValueString('mail_smtpmode', 'smtp')) { case 'sendmail': $transport = $this->getSendMailInstance(); -- 2.39.5