Remove 'description' from newsletter templates, it's not used anymore

[MAILPOET-2647]
This commit is contained in:
Jan Jakeš
2020-03-06 13:35:29 +01:00
committed by Veljko V
parent 196fb6794c
commit e9ae4df4bc
7 changed files with 3 additions and 21 deletions

View File

@ -13,7 +13,6 @@ class NewsletterTemplatesResponseBuilder {
'categories' => $template->getCategories(),
'thumbnail' => $template->getThumbnail(),
'name' => $template->getName(),
'description' => $template->getDescription(),
'readonly' => $template->getReadonly(),
'body' => $template->getBody(),
'created_at' => $template->getCreatedAt()->format(self::DATE_FORMAT),
@ -34,7 +33,6 @@ class NewsletterTemplatesResponseBuilder {
'categories' => $template->getCategories(),
'thumbnail' => $template->getThumbnail(),
'name' => $template->getName(),
'description' => $template->getDescription(),
'readonly' => $template->getReadonly(),
];
}