diff options
author | uckelman <uckelman@nomic.net> | 2010-05-09 18:16:20 +0000 |
---|---|---|
committer | uckelman <uckelman@nomic.net> | 2010-05-09 18:16:20 +0000 |
commit | 6f7c94fc64e980333d8f116125e89a3f43305b5a (patch) | |
tree | 1587b5e674bebc9965e65f0b21d2e7491d580060 | |
parent | 04b0a00cc3c9b9903498babe5c3c7f943dbf8228 (diff) |
Refactoring for MIME part access.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6829 67b53d14-2c14-4ace-a08f-0dab2b34000c
-rw-r--r-- | src/EmailMessage.php | 6 | ||||
-rw-r--r-- | src/Message.php | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/EmailMessage.php b/src/EmailMessage.php index 1e379ab..9313329 100644 --- a/src/EmailMessage.php +++ b/src/EmailMessage.php @@ -39,12 +39,8 @@ abstract class EmailMessage implements Message { return $this->msg->headers['references']; } - public function getBody() { - return isset($this->msg->body) ? $this->msg->body : false; - } - public function getParts() { - return $this->msg->parts; + return $this->msg; } protected static function decode_raw_message($input) { diff --git a/src/Message.php b/src/Message.php index 5123c61..637d651 100644 --- a/src/Message.php +++ b/src/Message.php @@ -15,8 +15,6 @@ interface Message { public function getReferences(); - public function getBody(); - public function getParts(); } |