diff options
author | alecpl <alec@alec.pl> | 2010-09-16 11:29:53 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-09-16 11:29:53 +0000 |
commit | 431234538a789ce5f56e33b6e61f6e0e4ae386d1 (patch) | |
tree | 8b9ac28788846c115b0c2c11096a2a53a62b8017 /program/steps/mail/func.inc | |
parent | 2280757d240cb365b2f33b6de154b29d6573e566 (diff) |
- Fix when IMAP connection fails in 'get' action session shouldn't be destroyed (#1486995)
- Performance: improve mail/get action and skip one IMAP connection
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r-- | program/steps/mail/func.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 39d77eab1..eb785ca68 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -26,8 +26,8 @@ $SEARCH_MODS_DEFAULT = array('*' => array('subject'=>1, 'from'=>1), $SENT_MBOX = $EMAIL_ADDRESS_PATTERN = '([a-z0-9][a-z0-9\-\.\+\_]*@[a-z0-9][a-z0-9\-\.]*\\.[a-z]{2,5})'; -// actions that do not require imap connection -$NOIMAP_ACTIONS = array('addcontact', 'autocomplete', 'upload', 'display-attachment', 'remove-attachment'); +// actions that do not require imap connection here +$NOIMAP_ACTIONS = array('addcontact', 'autocomplete', 'upload', 'display-attachment', 'remove-attachment', 'get'); // always instantiate imap object (but not yet connect to server) $RCMAIL->imap_init(); |