mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
rename
This commit is contained in:
@@ -521,7 +521,7 @@ class Sender
|
||||
}
|
||||
}
|
||||
|
||||
$attachmentInlineList = $email->getInlineAttachments();
|
||||
$attachmentInlineList = $email->getInlineAttachmentList();
|
||||
|
||||
if (!empty($attachmentInlineList)) {
|
||||
foreach ($attachmentInlineList as $a) {
|
||||
|
||||
@@ -235,7 +235,7 @@ class Email extends Entity
|
||||
$body = $this->get('body') ?? '';
|
||||
|
||||
if (!empty($body)) {
|
||||
$attachmentList = $this->getInlineAttachments();
|
||||
$attachmentList = $this->getInlineAttachmentList();
|
||||
|
||||
foreach ($attachmentList as $attachment) {
|
||||
$id = $attachment->getId();
|
||||
@@ -258,7 +258,7 @@ class Email extends Entity
|
||||
/**
|
||||
* @return Attachment[]
|
||||
*/
|
||||
public function getInlineAttachments(): array
|
||||
public function getInlineAttachmentList(): array
|
||||
{
|
||||
$idList = [];
|
||||
|
||||
|
||||
@@ -452,7 +452,7 @@ class EmailTest extends \PHPUnit\Framework\TestCase
|
||||
->method('getEntity')
|
||||
->with('Attachment', 'Id01');
|
||||
|
||||
$this->email->getInlineAttachments();
|
||||
$this->email->getInlineAttachmentList();
|
||||
}
|
||||
|
||||
function testGetBodyForSending()
|
||||
|
||||
Reference in New Issue
Block a user