Remove unused code
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 31 Aug 2009 21:47:57 +0000 (15:47 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 31 Aug 2009 21:51:05 +0000 (15:51 -0600)
imp/lib/Contents.php

index c8ecce4..5079d36 100644 (file)
@@ -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.