Skip to content

Commit c67b0e0

Browse files
committed
MAGETWO-62691: [Performance] EAV attributes caching optimization
1 parent 1e00ac4 commit c67b0e0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/code/Magento/Eav/Model/Config.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,6 @@ protected function _initAttributes($entityType)
448448
if (empty($attribute['attribute_model'])) {
449449
$attribute['attribute_model'] = $entityType->getAttributeModel();
450450
}
451-
// attributes should be reloaded via model to be processed by custom resource model
452451
$attributeObject = $this->_createAttribute($entityType, $attribute);
453452
$this->saveAttribute($attributeObject, $entityTypeCode, $attributeObject->getAttributeCode());
454453
$this->_attributeData[$entityTypeCode][$attribute['attribute_code']] = $attributeObject->toArray();

0 commit comments

Comments
 (0)