Skip to content

Commit 6df06ad

Browse files
vzabaznovduhon
authored andcommitted
MAGETWO-66588: [Backport] Perfomance toolkit generator improvement for 2.1
1 parent c51330b commit 6df06ad

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

app/code/Magento/Swatches/Model/Plugin/EavAttribute.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -81,20 +81,6 @@ public function beforeBeforeSave(Attribute $attribute)
8181
$this->convertSwatchToDropdown($attribute);
8282
}
8383

84-
/**
85-
* @param Attribute $attribute
86-
* @param bool $result
87-
* @return bool
88-
*/
89-
public function afterUsesSource(Attribute $attribute, $result)
90-
{
91-
if ($this->swatchHelper->isSwatchAttribute($attribute)) {
92-
return true;
93-
}
94-
95-
return $result;
96-
}
97-
9884
/**
9985
* Swatch save operations
10086
*

0 commit comments

Comments
 (0)