From 6f7c94fc64e980333d8f116125e89a3f43305b5a Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 9 May 2010 18:16:20 +0000 Subject: Refactoring for MIME part access. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6829 67b53d14-2c14-4ace-a08f-0dab2b34000c --- src/EmailMessage.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/EmailMessage.php') 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) { -- cgit v1.2.3