X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FMailing%2FMailStore.php;h=f11c413f224aad4c0ffe3d13ecd1c537cdc0df6e;hb=f41a7de74d7f30125ad93e4b80561ac17038c002;hp=8aeb4418564dbbabafb295ce6cc0b208390b623f;hpb=bfc6355af6949ca1e4a7c39d0f54f0ec70b641bf;p=civicrm-core.git diff --git a/CRM/Mailing/MailStore.php b/CRM/Mailing/MailStore.php index 8aeb441856..f11c413f22 100644 --- a/CRM/Mailing/MailStore.php +++ b/CRM/Mailing/MailStore.php @@ -47,8 +47,8 @@ class CRM_Mailing_MailStore { * mail store implementation for processing CiviMail-bound emails */ public static function getStore($name = NULL) { - $dao = new CRM_Core_DAO_MailSettings; - $dao->domain_id = CRM_Core_Config::domainID(); + $dao = new CRM_Core_DAO_MailSettings; + $dao->domain_id = CRM_Core_Config::domainID(); $name ? $dao->name = $name : $dao->is_default = 1; if (!$dao->find(TRUE)) { throw new Exception("Could not find entry named $name in civicrm_mail_settings"); @@ -121,7 +121,7 @@ class CRM_Mailing_MailStore { print "fetching $count messages\n"; } } - catch(ezcMailOffsetOutOfRangeException$e) { + catch (ezcMailOffsetOutOfRangeException$e) { if ($this->_debug) { print "got to the end of the mailbox\n"; } @@ -156,7 +156,10 @@ class CRM_Mailing_MailStore { $config = CRM_Core_Config::singleton(); $dir = $config->customFileUploadDir . DIRECTORY_SEPARATOR . $name; foreach (array( - 'cur', 'new', 'tmp') as $sub) { + 'cur', + 'new', + 'tmp' + ) as $sub) { if (!file_exists($dir . DIRECTORY_SEPARATOR . $sub)) { if ($this->_debug) { print "creating $dir/$sub\n";