diff --git a/application/Espo/Tools/Stream/Service.php b/application/Espo/Tools/Stream/Service.php index d0fe96f29d..fb4ceaff80 100644 --- a/application/Espo/Tools/Stream/Service.php +++ b/application/Espo/Tools/Stream/Service.php @@ -901,10 +901,6 @@ class Service $was = []; $became = []; - $entityDefs = $this->entityManager - ->getDefs() - ->getEntity($entity->getEntityType()); - foreach ($auditedFields as $field => $item) { $updated = false; @@ -922,15 +918,6 @@ class Service $updatedFieldList[] = $field; - $fieldDefs = $entityDefs->hasField($field) ? $entityDefs->getField($field) : null; - - if ( - $fieldDefs && - $fieldDefs->getType() == FieldType::WYSIWYG - ) { - continue; - } - foreach ($item['actualList'] as $attribute) { $was[$attribute] = $entity->getFetched($attribute); $became[$attribute] = $entity->get($attribute);