summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-05-17 17:46:43 +0000
committerthomascube <thomas@roundcube.net>2008-05-17 17:46:43 +0000
commit8fa58e72a333d753ec406d0725ac9c1b40ab6d9a (patch)
treea99d7187d1662ef4d9ee1d9bca77d5a3260227c8 /program/include/rcube_imap.php
parente2f958ced1af82b6e1ce27454148e7b8065823f5 (diff)
New class rcube_message representing a mail message; changed global $MESSAGE from array to object
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r--program/include/rcube_imap.php30
1 files changed, 0 insertions, 30 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index 1bf59b8dd..fa2845d5b 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -1180,36 +1180,6 @@ class rcube_imap
/**
- * Return a flat array with references to all parts, indexed by part numbers
- *
- * @param object rcube_message_part Message body structure
- * @return Array with part number -> object pairs
- */
- function get_mime_numbers(&$structure)
- {
- $a_parts = array();
- $this->_get_part_numbers($structure, $a_parts);
- return $a_parts;
- }
-
-
- /**
- * Helper method for recursive calls
- *
- * @access private
- */
- function _get_part_numbers(&$part, &$a_parts)
- {
- if ($part->mime_id)
- $a_parts[$part->mime_id] = &$part;
-
- if (is_array($part->parts))
- for ($i=0; $i<count($part->parts); $i++)
- $this->_get_part_numbers($part->parts[$i], $a_parts);
- }
-
-
- /**
* Fetch message body of a specific message from the server
*
* @param int Message UID