From d4873b3847d1075dc4f47469624b3989798e9256 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 2 Sep 2016 20:08:33 +0200 Subject: [PATCH] Fix interface name of EmailTransport --- .../background/job/EmailDeliveryBackgroundJob.class.php | 4 ++-- .../lib/system/email/transport/DebugEmailTransport.class.php | 2 +- .../{EmailTransport.class.php => IEmailTransport.class.php} | 2 +- .../lib/system/email/transport/PhpEmailTransport.class.php | 2 +- .../lib/system/email/transport/SmtpEmailTransport.class.php | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) rename wcfsetup/install/files/lib/system/email/transport/{EmailTransport.class.php => IEmailTransport.class.php} (95%) diff --git a/wcfsetup/install/files/lib/system/background/job/EmailDeliveryBackgroundJob.class.php b/wcfsetup/install/files/lib/system/background/job/EmailDeliveryBackgroundJob.class.php index 765111d97c..4128d376b8 100644 --- a/wcfsetup/install/files/lib/system/background/job/EmailDeliveryBackgroundJob.class.php +++ b/wcfsetup/install/files/lib/system/background/job/EmailDeliveryBackgroundJob.class.php @@ -34,7 +34,7 @@ class EmailDeliveryBackgroundJob extends AbstractBackgroundJob { /** * instance of the default transport - * @var \wcf\system\email\transport\EmailTransport + * @var \wcf\system\email\transport\IEmailTransport */ protected static $transport = null; @@ -44,7 +44,7 @@ class EmailDeliveryBackgroundJob extends AbstractBackgroundJob { * @param Email $email * @param Mailbox $envelopeFrom * @param Mailbox $envelopeTo - * @see \wcf\system\email\transport\EmailTransport + * @see \wcf\system\email\transport\IEmailTransport */ public function __construct(Email $email, Mailbox $envelopeFrom, Mailbox $envelopeTo) { $this->email = $email; diff --git a/wcfsetup/install/files/lib/system/email/transport/DebugEmailTransport.class.php b/wcfsetup/install/files/lib/system/email/transport/DebugEmailTransport.class.php index abb8cbe8c5..d02ef354c2 100644 --- a/wcfsetup/install/files/lib/system/email/transport/DebugEmailTransport.class.php +++ b/wcfsetup/install/files/lib/system/email/transport/DebugEmailTransport.class.php @@ -15,7 +15,7 @@ use wcf\util\DateUtil; * @package WoltLabSuite\Core\System\Email\Transport * @since 3.0 */ -class DebugEmailTransport implements EmailTransport { +class DebugEmailTransport implements IEmailTransport { /** * mbox file * @var File diff --git a/wcfsetup/install/files/lib/system/email/transport/EmailTransport.class.php b/wcfsetup/install/files/lib/system/email/transport/IEmailTransport.class.php similarity index 95% rename from wcfsetup/install/files/lib/system/email/transport/EmailTransport.class.php rename to wcfsetup/install/files/lib/system/email/transport/IEmailTransport.class.php index 63c75de72d..ef2811025b 100644 --- a/wcfsetup/install/files/lib/system/email/transport/EmailTransport.class.php +++ b/wcfsetup/install/files/lib/system/email/transport/IEmailTransport.class.php @@ -12,7 +12,7 @@ use wcf\system\email\Mailbox; * @package WoltLabSuite\Core\System\Email\Transport * @since 3.0 */ -interface EmailTransport { +interface IEmailTransport { /** * Delivers the given $email to the given Mailbox as the recipient. * diff --git a/wcfsetup/install/files/lib/system/email/transport/PhpEmailTransport.class.php b/wcfsetup/install/files/lib/system/email/transport/PhpEmailTransport.class.php index a88e95fbc4..175073e725 100644 --- a/wcfsetup/install/files/lib/system/email/transport/PhpEmailTransport.class.php +++ b/wcfsetup/install/files/lib/system/email/transport/PhpEmailTransport.class.php @@ -14,7 +14,7 @@ use wcf\util\StringUtil; * @package WoltLabSuite\Core\System\Email\Transport * @since 3.0 */ -class PhpEmailTransport implements EmailTransport { +class PhpEmailTransport implements IEmailTransport { /** * Delivers the given email via mail(). * diff --git a/wcfsetup/install/files/lib/system/email/transport/SmtpEmailTransport.class.php b/wcfsetup/install/files/lib/system/email/transport/SmtpEmailTransport.class.php index 9456a46085..3296d08ce5 100644 --- a/wcfsetup/install/files/lib/system/email/transport/SmtpEmailTransport.class.php +++ b/wcfsetup/install/files/lib/system/email/transport/SmtpEmailTransport.class.php @@ -17,7 +17,7 @@ use wcf\util\StringUtil; * @package WoltLabSuite\Core\System\Email\Transport * @since 3.0 */ -class SmtpEmailTransport implements EmailTransport { +class SmtpEmailTransport implements IEmailTransport { /** * SMTP connection * @var RemoteFile -- 2.20.1