Merge branch 'angular-tests' of https://github.com/giant-rabbit/civicrm-core into...
[civicrm-core.git] / CRM / Mailing / MailStore / Localdir.php
index afb9eba73d45feae44b66a0e77d792983089266d..0fc7d476e4ad28f6e7abd83198c5447af4a9838d 100644 (file)
@@ -48,7 +48,7 @@ class CRM_Mailing_MailStore_Localdir extends CRM_Mailing_MailStore {
    *
    * @return \CRM_Mailing_MailStore_Localdir
    */
-  function __construct($dir) {
+  public function __construct($dir) {
     $this->_dir = $dir;
 
     $this->_ignored = $this->maildir(implode(DIRECTORY_SEPARATOR, array('CiviMail.ignored', date('Y'), date('m'), date('d'))));
@@ -63,7 +63,7 @@ class CRM_Mailing_MailStore_Localdir extends CRM_Mailing_MailStore {
    *
    * @return array      array of ezcMail objects
    */
-  function fetchNext($count = 0) {
+  public function fetchNext($count = 0) {
     $mails = array();
     $path = rtrim($this->_dir, DIRECTORY_SEPARATOR);
 
@@ -118,7 +118,7 @@ class CRM_Mailing_MailStore_Localdir extends CRM_Mailing_MailStore {
    * @throws Exception
    * @return void
    */
-  function markIgnored($file) {
+  public function markIgnored($file) {
     if ($this->_debug) {
       print "moving $file to ignored folder\n";
     }
@@ -136,7 +136,7 @@ class CRM_Mailing_MailStore_Localdir extends CRM_Mailing_MailStore {
    * @throws Exception
    * @return void
    */
-  function markProcessed($file) {
+  public function markProcessed($file) {
     if ($this->_debug) {
       print "moving $file to processed folder\n";
     }
@@ -146,4 +146,3 @@ class CRM_Mailing_MailStore_Localdir extends CRM_Mailing_MailStore {
     }
   }
 }
-