Skip to content

Commit becd97c

Browse files
#10045 Sitemap add item refactoring - remove var_dump
1 parent 9b25030 commit becd97c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

app/code/Magento/Sitemap/Model/CmsPageSitemapItemResolver.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ public function __construct(
6565
public function getItems($storeId)
6666
{
6767
$collection = $this->cmsPageFactory->create()->getCollection($storeId);
68-
var_dump($collection);
6968
$items = array_map(function($item) use ($storeId) {
7069
return $this->itemFactory->create([
7170
'url' => $item->getUrl(),
@@ -76,8 +75,6 @@ public function getItems($storeId)
7675
]);
7776
}, $collection);
7877

79-
var_dump($items);
80-
8178
return $items;
8279
}
8380

0 commit comments

Comments
 (0)