Skip to content

Commit 1ca9f39

Browse files
author
Stanislav Idolov
authored
🔃 [EngCom] Public Pull Requests - 2.1-develop
Accepted Public Pull Requests: - #17237: [Backport] Remove commented code (by @tiagosampaio)
2 parents f06f52c + 3daf3f0 commit 1ca9f39

File tree

4 files changed

+0
-19
lines changed

4 files changed

+0
-19
lines changed

app/code/Magento/Review/Model/ResourceModel/Rating/Collection.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ public function setStoreFilter($storeId)
138138
'main_table.rating_id = store.rating_id',
139139
[]
140140
);
141-
// ->group('main_table.rating_id')
142141
$this->_isStoreJoined = true;
143142
}
144143
$inCondition = $connection->prepareSqlCondition('store.store_id', ['in' => $storeId]);

app/code/Magento/Sales/Model/Order/Creditmemo.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -475,13 +475,6 @@ public function getStateName($stateId = null)
475475
*/
476476
public function setShippingAmount($amount)
477477
{
478-
// base shipping amount calculated in total model
479-
// $amount = $this->getStore()->round($amount);
480-
// $this->setData('base_shipping_amount', $amount);
481-
//
482-
// $amount = $this->getStore()->round(
483-
// $amount*$this->getOrder()->getStoreToOrderRate()
484-
// );
485478
return $this->setData(CreditmemoInterface::SHIPPING_AMOUNT, $amount);
486479
}
487480

lib/internal/Magento/Framework/Data/Form/Element/Checkboxes.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -178,14 +178,6 @@ public function getOnchange($value)
178178
return;
179179
}
180180

181-
// public function getName($value)
182-
// {
183-
// if ($name = $this->getData('name')) {
184-
// return str_replace('$value', $value, $name);
185-
// }
186-
// return ;
187-
// }
188-
189181
/**
190182
* @param array $option
191183
* @return string

lib/internal/Magento/Framework/Model/ResourceModel/Db/Relation/ActionPool.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ public function getActions($entityType, $actionName)
5050
}
5151
foreach ($this->relationActions[$entityType][$actionName] as $actionClassName) {
5252
$action = $this->objectManager->get($actionClassName);
53-
//if (!$action instanceof ProcessEntityRelationInterface) {
54-
// throw new \Exception('Not compliant with action interface');
55-
//}
5653
$actions[] = $action;
5754
}
5855
return $actions;

0 commit comments

Comments
 (0)