Skip to content

Commit

Permalink
magento#10045 Sitemap add item refactoring - remove var_dump
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrkwiecinski committed Jul 19, 2017
1 parent 9b25030 commit becd97c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/code/Magento/Sitemap/Model/CmsPageSitemapItemResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ public function __construct(
public function getItems($storeId)
{
$collection = $this->cmsPageFactory->create()->getCollection($storeId);
var_dump($collection);
$items = array_map(function($item) use ($storeId) {
return $this->itemFactory->create([
'url' => $item->getUrl(),
Expand All @@ -76,8 +75,6 @@ public function getItems($storeId)
]);
}, $collection);

var_dump($items);

return $items;
}

Expand Down

0 comments on commit becd97c

Please sign in to comment.