From: Matthias Schmidt Date: Tue, 26 Jul 2011 11:42:20 +0000 (+0200) Subject: Fixed variable name in MailSender X-Git-Tag: 2.0.0_Beta_1~1951^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e3c04431144cfb19998043aba6dccd5892e620c3;p=GitHub%2FWoltLab%2FWCF.git Fixed variable name in MailSender MailSender::$defaultMailSender has been renamed to MailSender::$instance. --- 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; } }