diff options
author | alecpl <alec@alec.pl> | 2011-02-16 09:42:31 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-02-16 09:42:31 +0000 |
commit | 1a2754d18ca079ea55e4c272d7cdc9dc33c00179 (patch) | |
tree | eb9f682373ab46319363d60a9b19ca2a917e5430 /program/include/rcmail.php | |
parent | 4ef242af12bff50db0da28b5279c172781139cde (diff) |
- Applied fixes from trunk
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r-- | program/include/rcmail.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 4ff790d85..e1dc22d07 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -1071,9 +1071,6 @@ class rcmail */ public function shutdown() { - if (is_object($this->imap)) - $this->imap->close(); - if (is_object($this->smtp)) $this->smtp->disconnect(); @@ -1198,6 +1195,9 @@ class rcmail } } + if (is_object($this->imap)) + $this->imap->close(); + return $base64 ? base64_encode($cipher) : $cipher; } |