Skip to content

Commit ffb3cc8

Browse files
ENGCOM-4794: Removes usage of classes which don't exist from DB migration scripts. #22446
- Merge Pull Request #22446 from hostep/magento2:removes-unexisting-classes-from-setup-code - Merged commits: 1. f22e16b
2 parents 9312b47 + f22e16b commit ffb3cc8

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

app/code/Magento/Catalog/Setup/CategorySetup.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use Magento\Catalog\Block\Adminhtml\Category\Helper\Pricestep;
1111
use Magento\Catalog\Block\Adminhtml\Category\Helper\Sortby\Available;
1212
use Magento\Catalog\Block\Adminhtml\Category\Helper\Sortby\DefaultSortby;
13-
use Magento\Catalog\Block\Adminhtml\Product\Helper\Form\BaseImage;
1413
use Magento\Catalog\Block\Adminhtml\Product\Helper\Form\Category as CategoryFormHelper;
1514
use Magento\Catalog\Block\Adminhtml\Product\Helper\Form\Weight as WeightFormHelper;
1615
use Magento\Catalog\Model\Attribute\Backend\Customlayoutupdate;
@@ -593,7 +592,6 @@ public function getDefaultEntities()
593592
'label' => 'Base Image',
594593
'input' => 'media_image',
595594
'frontend' => ImageFrontendModel::class,
596-
'input_renderer' => BaseImage::class,
597595
'required' => false,
598596
'sort_order' => 0,
599597
'global' => ScopedAttributeInterface::SCOPE_STORE,
@@ -626,7 +624,6 @@ public function getDefaultEntities()
626624
'type' => 'varchar',
627625
'label' => 'Media Gallery',
628626
'input' => 'gallery',
629-
'backend' => Media::class,
630627
'required' => false,
631628
'sort_order' => 4,
632629
'group' => 'Images',

app/code/Magento/Customer/Setup/Patch/Data/MigrateStoresAllowedCountriesToWebsite.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
use Magento\Directory\Model\AllowedCountries;
1010
use Magento\Framework\Setup\ModuleDataSetupInterface;
11-
use Magento\Directory\Model\AllowedCountriesFactory;
1211
use Magento\Store\Model\ScopeInterface;
1312
use Magento\Store\Model\StoreManagerInterface;
1413
use Magento\Framework\Setup\Patch\DataPatchInterface;
@@ -27,7 +26,7 @@ class MigrateStoresAllowedCountriesToWebsite implements DataPatchInterface, Patc
2726
private $storeManager;
2827

2928
/**
30-
* @var AllowedCountriesFactory
29+
* @var AllowedCountries
3130
*/
3231
private $allowedCountries;
3332

0 commit comments

Comments
 (0)