Skip to content

Commit ef8aa5a

Browse files
author
Stanislav Idolov
authored
ENGCOM-2541: [Backport] Remove commented code #17136
2 parents 70299e0 + ab5a82a commit ef8aa5a

File tree

5 files changed

+0
-30
lines changed

5 files changed

+0
-30
lines changed

app/code/Magento/Backend/Block/Dashboard/Bar.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,6 @@ public function getTotals()
3838
*/
3939
public function addTotal($label, $value, $isQuantity = false)
4040
{
41-
/*if (!$isQuantity) {
42-
$value = $this->format($value);
43-
$decimals = substr($value, -2);
44-
$value = substr($value, 0, -2);
45-
} else {
46-
$value = ($value != '')?$value:0;
47-
$decimals = '';
48-
}*/
4941
if (!$isQuantity) {
5042
$value = $this->format($value);
5143
}

app/code/Magento/Catalog/Setup/InstallData.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface
123123
// update attributes group and sort
124124
$attributes = [
125125
'custom_design' => ['group' => 'design', 'sort' => 10],
126-
// 'custom_design_apply' => array('group' => 'design', 'sort' => 20),
127126
'custom_design_from' => ['group' => 'design', 'sort' => 30],
128127
'custom_design_to' => ['group' => 'design', 'sort' => 40],
129128
'page_layout' => ['group' => 'design', 'sort' => 50],

app/code/Magento/Newsletter/Block/Adminhtml/Template/Edit.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,6 @@ public function getModel()
6565
*/
6666
protected function _prepareLayout()
6767
{
68-
// Load Wysiwyg on demand and Prepare layout
69-
// $block = $this->getLayout()->getBlock('head');
70-
// if ($this->_wysiwygConfig->isEnabled() && $block) {
71-
// $block->setCanLoadTinyMce(true);
72-
// }
73-
7468
$this->getToolbar()->addChild(
7569
'back_button',
7670
'Magento\Backend\Block\Widget\Button',

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -588,13 +588,6 @@ public function getCommentsCollection($reload = false)
588588
{
589589
$collection = $this->_commentCollectionFactory->create()->setCreditmemoFilter($this->getId())
590590
->setCreatedAtOrder();
591-
//
592-
// $this->setComments($comments);
593-
// /**
594-
// * When credit memo created with adding comment,
595-
// * comments collection must be loaded before we added this comment.
596-
// */
597-
// $this->getComments()->load();
598591

599592
if ($this->getId()) {
600593
foreach ($collection as $comment) {

app/code/Magento/Sales/view/adminhtml/templates/order/totals.phtml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,6 @@
77
// @codingStandardsIgnoreFile
88

99
?>
10-
<?php /*$_source = $block->getSource(); ?>
11-
<?php $block->setPriceDataObject($_source) ?>
12-
<?php if ($_source): ?>
13-
<table width="100%">
14-
<?php echo $block->getChildHtml('main'); ?>
15-
<?php echo $block->getChildHtml('footer'); ?>
16-
</table>
17-
<?php endif;*/ ?>
1810
<table class="data-table admin__table-secondary order-subtotal-table">
1911
<?php $_totals = $block->getTotals('footer')?>
2012

0 commit comments

Comments
 (0)