summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-06-26 20:07:36 +0200
committerAleksander Machniak <alec@alec.pl>2012-06-26 20:07:36 +0200
commitd44092430e2b12f7d9887fd1db3346fcb141ea95 (patch)
tree7c8d68bad5f7b48d7a9c40f9679ad838f41be7a3
parent8e47396381a94c830782c375862e402273054265 (diff)
Add rcube_message_header class (alias for rcube_mail_header) definition to prevent
errors when trying to use cached message objects created in master (0.9) version
-rw-r--r--program/include/rcube_imap_generic.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php
index 0ae82eaca..8b75e3849 100644
--- a/program/include/rcube_imap_generic.php
+++ b/program/include/rcube_imap_generic.php
@@ -60,7 +60,7 @@ class rcube_mail_header
public $others = array();
public $flags = array();
- // map header to rcube_message_header object property
+ // map header to rcube_mail_header object property
private $obj_headers = array(
'date' => 'date',
'from' => 'from',
@@ -118,6 +118,11 @@ class iilBasicHeader extends rcube_mail_header
{
}
+// Support objects created in git-master (0.9)
+class rcube_message_header extends rcube_mail_header
+{
+}
+
/**
* PHP based wrapper class to connect to an IMAP server
*