File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
DownloadableSampleData/Model Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,6 @@ protected function prepareProduct($product, $data)
115
115
*/
116
116
private function getOptionFactory ()
117
117
{
118
-
119
118
if (!$ this ->optionFactory ) {
120
119
$ this ->optionFactory = ObjectManager::getInstance ()->get (
121
120
'\Magento\Bundle\Api\Data\OptionInterfaceFactory '
@@ -132,7 +131,6 @@ private function getOptionFactory()
132
131
*/
133
132
private function getLinkFactory ()
134
133
{
135
-
136
134
if (!$ this ->linkFactory ) {
137
135
$ this ->linkFactory = ObjectManager::getInstance ()->get (
138
136
'\Magento\Bundle\Api\Data\LinkInterfaceFactory '
@@ -149,7 +147,6 @@ private function getLinkFactory()
149
147
*/
150
148
private function getProductRepository ()
151
149
{
152
-
153
150
if (!$ this ->productRepository ) {
154
151
$ this ->productRepository = ObjectManager::getInstance ()->get (
155
152
'\Magento\Catalog\Api\ProductRepositoryInterface '
Original file line number Diff line number Diff line change @@ -187,7 +187,6 @@ protected function prepareProduct($product, $data)
187
187
*/
188
188
private function getLinkFactory ()
189
189
{
190
-
191
190
if (!$ this ->linkFactory ) {
192
191
$ this ->linkFactory = ObjectManager::getInstance ()->get (
193
192
'\Magento\Downloadable\Api\Data\LinkInterfaceFactory '
@@ -204,7 +203,6 @@ private function getLinkFactory()
204
203
*/
205
204
private function getSampleFactory ()
206
205
{
207
-
208
206
if (!$ this ->sampleFactory ) {
209
207
$ this ->sampleFactory = ObjectManager::getInstance ()->get (
210
208
'\Magento\Downloadable\Api\Data\SampleInterfaceFactory '
You can’t perform that action at this time.
0 commit comments