Skip to content

Commit 72e3546

Browse files
author
Leonid Poluyanov
committed
MAGETWO-50649: Downloadable product has no links and samples in sample data
1 parent da565df commit 72e3546

File tree

1 file changed

+1
-5
lines changed
  • app/code/Magento/DownloadableSampleData/Model

1 file changed

+1
-5
lines changed

app/code/Magento/DownloadableSampleData/Model/Product.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ public function __construct(
5757
\Magento\DownloadableSampleData\Model\Product\Converter $converter,
5858
\Magento\CatalogSampleData\Model\Product\Gallery $gallery,
5959
\Magento\Store\Model\StoreManagerInterface $storeManager,
60-
\Magento\Eav\Model\Config $eavConfig,
61-
SampleFactory $sampleFactory,
62-
LinkFactory $linkFactory
60+
\Magento\Eav\Model\Config $eavConfig
6361
) {
6462
parent::__construct(
6563
$sampleDataContext,
@@ -70,8 +68,6 @@ public function __construct(
7068
$storeManager,
7169
$eavConfig
7270
);
73-
$this->linkFactory = $linkFactory;
74-
$this->sampleFactory = $sampleFactory;
7571
}
7672

7773
/**

0 commit comments

Comments
 (0)