wysiwyg audited

This commit is contained in:
Yuri Kuznetsov
2024-03-04 16:09:28 +02:00
parent 52c07987c6
commit 7cdcb375b3
-13
View File
@@ -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);