Merge branch 'angular-tests' of https://github.com/giant-rabbit/civicrm-core into...
[civicrm-core.git] / CRM / Mailing / MailStore / Pop3.php
index 6927b982bd7a9cff3c60c98a884c58441a55882a..7004f66d11d7f932240f48dd47d8509f2e6de6ff 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
 
 require_once 'ezc/Base/src/ezc_bootstrap.php';
 require_once 'ezc/autoload/mail_autoload.php';
+
+/**
+ * Class CRM_Mailing_MailStore_Pop3
+ */
 class CRM_Mailing_MailStore_Pop3 extends CRM_Mailing_MailStore {
 
   /**
@@ -47,7 +51,7 @@ class CRM_Mailing_MailStore_Pop3 extends CRM_Mailing_MailStore {
    *
    * @return \CRM_Mailing_MailStore_Pop3
    */
-  function __construct($host, $username, $password, $ssl = TRUE) {
+  public function __construct($host, $username, $password, $ssl = TRUE) {
     if ($this->_debug) {
       print "connecting to $host and authenticating as $username\n";
     }
@@ -67,7 +71,7 @@ class CRM_Mailing_MailStore_Pop3 extends CRM_Mailing_MailStore {
    *
    * @return void
    */
-  function markIgnored($nr) {
+  public function markIgnored($nr) {
     if ($this->_debug) {
       print "fetching message $nr and putting it in the ignored mailbox\n";
     }
@@ -84,7 +88,7 @@ class CRM_Mailing_MailStore_Pop3 extends CRM_Mailing_MailStore {
    *
    * @return void
    */
-  function markProcessed($nr) {
+  public function markProcessed($nr) {
     if ($this->_debug) {
       print "fetching message $nr and putting it in the processed mailbox\n";
     }
@@ -94,4 +98,3 @@ class CRM_Mailing_MailStore_Pop3 extends CRM_Mailing_MailStore {
     $this->_transport->delete($nr);
   }
 }
-