From 7cdcb375b399311c541dfcf49bda24f808fbbff5 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Mon, 4 Mar 2024 16:09:28 +0200 Subject: [PATCH] wysiwyg audited --- application/Espo/Tools/Stream/Service.php | 13 ------------- 1 file changed, 13 deletions(-) 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);