Skip to content

Commit eede9bd

Browse files
authored
Bug: remove call to not existing model (#5094)
1 parent 2c424e6 commit eede9bd

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

.phpstan.dist.baseline.neon

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,6 @@ parameters:
162162
count: 1
163163
path: app/code/core/Mage/Adminhtml/Block/Review/Grid/Filter/Type.php
164164

165-
-
166-
rawMessage: 'Call to method getIsOldCustomer() on an unknown class Mage_Adminhtml_Model_Quote.'
167-
identifier: class.notFound
168-
count: 1
169-
path: app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Newsletter.php
170-
171165
-
172166
rawMessage: 'Call to an undefined method Mage_Shipping_Model_Carrier_Abstract::isGirthAllowed().'
173167
identifier: method.notFound

app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Newsletter.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ public function getHeaderCssClass()
4141
*/
4242
protected function _toHtml()
4343
{
44-
if (!Mage::getSingleton('adminhtml/quote')->getIsOldCustomer()) {
45-
return parent::_toHtml();
46-
}
47-
4844
return '';
4945
}
5046
}

0 commit comments

Comments
 (0)