Skip to content

Commit 357fab2

Browse files
committed
Remove some redundant source code issue 23924
1 parent 2d8fc56 commit 357fab2

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

app/code/Magento/Reports/Controller/Adminhtml/Report/Shopcart.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,4 @@ public function _initAction()
5555
$this->_addBreadcrumb(__('Shopping Cart'), __('Shopping Cart'));
5656
return $this;
5757
}
58-
59-
/**
60-
* Determine if action is allowed for reports module
61-
*
62-
* @return bool
63-
* phpcs:disable Generic.CodeAnalysis.UselessOverridingMethod
64-
*/
65-
protected function _isAllowed()
66-
{
67-
return parent::_isAllowed();
68-
}
6958
}

app/code/Magento/Reports/Controller/Adminhtml/Report/Shopcart/Customer.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@
1515
*/
1616
class Customer extends \Magento\Reports\Controller\Adminhtml\Report\Shopcart implements HttpGetActionInterface
1717
{
18-
/**
19-
* Authorization of a customer report
20-
*/
21-
const ADMIN_RESOURCE = null;
22-
2318
/**
2419
* Customer shopping carts action
2520
*

0 commit comments

Comments
 (0)