Merge pull request #9605 from ErichBSchulz/patch-4
[civicrm-core.git] / CRM / Mailing / MailStore / Maildir.php
index bf48c97caf9f459254862056ffad3a1f6bbe5c7c..7a1aeef4f4fad8b91c0b6ca7d0f2ef826a56222c 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015                                |
+ | Copyright CiviCRM LLC (c) 2004-2017                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
+ * @copyright CiviCRM LLC (c) 2004-2017
  */
 
-require_once 'ezc/Base/src/ezc_bootstrap.php';
-require_once 'ezc/autoload/mail_autoload.php';
-
 /**
  * Class CRM_Mailing_MailStore_Maildir
  */
@@ -79,7 +74,7 @@ class CRM_Mailing_MailStore_Maildir extends CRM_Mailing_MailStore {
   public function fetchNext($count = 0) {
     $mails = array();
     $parser = new ezcMailParser();
-    //set property text attachment as file CRM-5408
+    // set property text attachment as file CRM-5408
     $parser->options->parseTextAttachmentsAsFiles = TRUE;
 
     foreach (array(
@@ -114,7 +109,6 @@ class CRM_Mailing_MailStore_Maildir extends CRM_Mailing_MailStore {
    *   File location of the message to fetch.
    *
    * @throws Exception
-   * @return void
    */
   public function markIgnored($file) {
     if ($this->_debug) {
@@ -133,7 +127,6 @@ class CRM_Mailing_MailStore_Maildir extends CRM_Mailing_MailStore {
    *   File location of the message to fetch.
    *
    * @throws Exception
-   * @return void
    */
   public function markProcessed($file) {
     if ($this->_debug) {