aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Lehmann <t.lehmann@strato.de>2024-11-07 11:05:11 +0100
committerThomas Lehmann <147605810+thlehmann-ionos@users.noreply.github.com>2024-11-19 11:32:39 +0100
commit40211f3d0748983c294dcfffa56f4022bd69d28e (patch)
treef01dfecccdf53728074f881d525d774f07a790d6 /lib
parent46d8a7333b9b77ccc440afd0a3c3fe7c5bc3901c (diff)
downloadnextcloud-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.php2
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();