diff options
author | Thomas Lehmann <t.lehmann@strato.de> | 2024-11-07 11:05:11 +0100 |
---|---|---|
committer | Thomas Lehmann <147605810+thlehmann-ionos@users.noreply.github.com> | 2024-11-19 11:32:39 +0100 |
commit | 40211f3d0748983c294dcfffa56f4022bd69d28e (patch) | |
tree | f01dfecccdf53728074f881d525d774f07a790d6 /lib | |
parent | 46d8a7333b9b77ccc440afd0a3c3fe7c5bc3901c (diff) | |
download | nextcloud-server-40211f3d0748983c294dcfffa56f4022bd69d28e.tar.gz nextcloud-server-40211f3d0748983c294dcfffa56f4022bd69d28e.zip |
chore(Mailer): remove no-op local variable initilization
The IDE hinted the value is immediately overwritten.
Signed-off-by: Thomas Lehmann <t.lehmann@strato.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Mail/Mailer.php | 2 |
1 files changed, 0 insertions, 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(); |