Skip to content

Commit 59beee6

Browse files
committed
MAGETWO-45173: Bundle product created using Web API isn't visible on Store front
- remove redandent comment
1 parent efd80ee commit 59beee6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/code/Magento/Bundle/Model/LinkManagement.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@ public function addChild(
254254

255255
try {
256256
$selectionModel->save();
257-
/* @var $resource \Magento\Bundle\Model\ResourceModel\Bundle */
258257
$resource->addProductRelations($product->getId(), [$linkProductModel->getId()]);
259258
} catch (\Exception $e) {
260259
throw new CouldNotSaveException(__('Could not save child: "%1"', $e->getMessage()), $e);

0 commit comments

Comments
 (0)