Skip to content

Commit 48748ce

Browse files
MC-32014: Remove google-shopping-ads module from core in 2.4.1
1 parent cd1397d commit 48748ce

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
7+
68
namespace Magento\Framework\Mview;
79

810
use Magento\Framework\App\ResourceConnection;
@@ -45,9 +47,9 @@ public function __construct(
4547
}
4648

4749
/**
48-
* Remove unused triggers
50+
* Unsubscribe old views by existing triggers
4951
*/
50-
public function unsubscribe()
52+
public function unsubscribe(): void
5153
{
5254
$viewCollection = $this->viewCollectionFactory->create();
5355
$viewList = $viewCollection->getViewsByStateMode(StateInterface::MODE_ENABLED);

0 commit comments

Comments
 (0)