From: Michael M Slusarz Date: Mon, 31 Aug 2009 21:47:57 +0000 (-0600) Subject: Remove unused code X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ee037b311ad398abaab066cf8c34c548bdf12f7a;p=horde.git Remove unused code --- diff --git a/imp/lib/Contents.php b/imp/lib/Contents.php index c8ecce487..5079d3671 100644 --- a/imp/lib/Contents.php +++ b/imp/lib/Contents.php @@ -77,14 +77,6 @@ class IMP_Contents protected $_build = false; /** - * The status cache. - * NOT CURRENTLY USED - * - * @var array - */ - protected $_statuscache = array(); - - /** * Attempts to return a reference to a concrete IMP_Contents instance. * If an IMP_Contents object is currently stored in the local cache, * recreate that object. Else, create a new instance. @@ -434,10 +426,6 @@ class IMP_Contents $ret[$mime_id]['name'] = $mime_part->getName(true); } - if (isset($this->_statuscache[$mime_id])) { - $ret[$mime_id]['status'] = array_merge($this->_statuscache[$mime_id], $ret[$mime_id]['status']); - } - /* If this is a text/* part, AND the browser does not support UTF-8, * give the user a link to open the part in a new window with the * correct character set. */ @@ -912,18 +900,6 @@ class IMP_Contents } /** - * Sets additional status information for a part. - * NOT CURRENTLY USED - * - * @param string $id The MIME ID - * @param array $entry The status entry. - */ - public function setStatusCache($id, $entry) - { - $this->_statuscache[$id][] = $entry; - } - - /** * Get download all list. * * @return array An array of downloadable parts.