fix: [workflow-modules:attribute_edit_operation] Removed leftover code

pull/9432/head
Sami Mokaddem 2023-11-23 16:03:35 +01:00
parent 16f0edf09e
commit 18625a9638
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 0 additions and 11 deletions

View File

@ -65,14 +65,3 @@ class Module_attribute_edition_operation extends WorkflowBaseActionModule
];
}
}
foreach ($object['Attribute'] as $k => $attribute) {
if (!empty($object['deleted'])) {
$attribute['deleted'] = 1;
}
$attributes[] = $this->Attribute->editAttribute2($attribute, $event, $user, $object['id'], false, $force);
}
$result = $this->Attribute->editAttributeBulk($attributes, $event, $user);
$result = $this->Attribute->editAttributePostProcessing($attributes, $event, $user);