Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eXorus committed May 26, 2020
1 parent b3aa227 commit ba25137
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/Parser.php
Expand Up @@ -644,23 +644,6 @@ public function getAttachments($attachment_types = self::GA_INCLUDE_ALL)
return $attachments;
}

public function getAttachments2()
{
$attachments = [];

$parts = $this->filterParts(['attachment'], false);

foreach ($parts as $partId => $part) {
$attachments[] = $this->attachmentInterface::create(
$this->getAttachmentStream($part),
$this->getPartComplete($part),
new MimePart($partId, $part)
);
}

return $attachments;
}

/**
* Save attachments in a folder
*
Expand Down

0 comments on commit ba25137

Please sign in to comment.