Skip to content

Commit 0d18cce

Browse files
committed
Mview patch update
1 parent 4fef4b4 commit 0d18cce

File tree

1 file changed

+2
-2
lines changed
  • lib/internal/Magento/Framework/Mview

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Mview/View.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public function load($viewId)
205205
*/
206206
public function subscribe()
207207
{
208-
//if ($this->getState()->getMode() !== View\StateInterface::MODE_ENABLED) {
208+
if ($this->getState()->getMode() !== View\StateInterface::MODE_ENABLED) {
209209
// Create changelog table
210210
$this->getChangelog()->create();
211211

@@ -215,7 +215,7 @@ public function subscribe()
215215

216216
// Update view state
217217
$this->getState()->setMode(View\StateInterface::MODE_ENABLED)->save();
218-
// }
218+
}
219219

220220
return $this;
221221
}

0 commit comments

Comments
 (0)