Skip to content

Commit 89a4197

Browse files
committed
Update removeAttributeCategory.php
1 parent 671a7cb commit 89a4197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

removeAttributeCategory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public function launch()
1111
$categorySetupFactory = $this->_objectManager->create('\Magento\Catalog\Setup\CategorySetupFactory');
1212
$categorySetup = $categorySetupFactory->create(['setup' => $setup]);
1313

14-
$categorySetup->removeAttribute( \Magento\Catalog\Model\Product::ENTITY, 'extrafee');
14+
$categorySetup->removeAttribute( \Magento\Catalog\Model\Category::ENTITY, 'extrafee');
1515

1616
echo 'Done!';
1717
//the method must end with this line

0 commit comments

Comments
 (0)