Updating docs for UserMailer::sendWithPear() which calls $mailer->send()
authorPerside Rosalie <rosalieperside@gmail.com>
Thu, 25 Feb 2016 13:52:24 +0000 (14:52 +0100)
committerReedy <reedy@wikimedia.org>
Thu, 25 Feb 2016 16:50:30 +0000 (16:50 +0000)
$mailer->send() call in UserMailer::sendWithPear() which is correct. $mailer is an
instance of Mail_smtp not UserMailer so the arguments passed to the send() method are
correct. The docs have been updated appropriately.

Bug: T68673
Change-Id: Ia85f957c60f4dafd3f450cda469b70bdcc166a8f

includes/mail/UserMailer.php

index 983f42c..5343b2c 100644 (file)
@@ -33,7 +33,7 @@ class UserMailer {
        /**
         * Send mail using a PEAR mailer
         *
-        * @param UserMailer $mailer
+        * @param Mail_smtp $mailer
         * @param string $dest
         * @param string $headers
         * @param string $body