From e3c04431144cfb19998043aba6dccd5892e620c3 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 26 Jul 2011 13:42:20 +0200 Subject: [PATCH] Fixed variable name in MailSender MailSender::$defaultMailSender has been renamed to MailSender::$instance. --- wcfsetup/install/files/lib/system/mail/MailSender.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/system/mail/MailSender.class.php b/wcfsetup/install/files/lib/system/mail/MailSender.class.php index 447972dbf2..674a122212 100644 --- a/wcfsetup/install/files/lib/system/mail/MailSender.class.php +++ b/wcfsetup/install/files/lib/system/mail/MailSender.class.php @@ -27,15 +27,15 @@ abstract class MailSender { if (self::$instance == null) { switch (MAIL_SEND_METHOD) { case 'php': - self::$defaultMailSender = new PHPMailSender(); + self::$instance = new PHPMailSender(); break; case 'smtp': - self::$defaultMailSender = new SMTPMailSender(); + self::$instance = new SMTPMailSender(); break; case 'debug': - self::$defaultMailSender = new DebugMailSender(); + self::$instance = new DebugMailSender(); break; } } -- 2.20.1