Skip to content

Commit 99f27bc

Browse files
author
Shikha Mishra
authored
Reverted Previous changes
1 parent fdc62e6 commit 99f27bc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/code/Magento/Cms/Model/BlockRepository.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ public function save(Data\BlockInterface $block)
133133
public function getById($blockId)
134134
{
135135
$block = $this->blockFactory->create();
136-
$block->setStoreId($this->storeManager->getStore()->getId());
137136
$this->resource->load($block, $blockId);
138137
if (!$block->getId()) {
139138
throw new NoSuchEntityException(__('The CMS block with the "%1" ID doesn\'t exist.', $blockId));

0 commit comments

Comments
 (0)