Skip to content

Commit 51844a8

Browse files
committed
Remove commented code
1 parent 8e384f9 commit 51844a8

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,6 @@ public function getModel()
6969
*/
7070
protected function _prepareLayout()
7171
{
72-
// Load Wysiwyg on demand and Prepare layout
73-
// $block = $this->getLayout()->getBlock('head');
74-
// if ($this->_wysiwygConfig->isEnabled() && $block) {
75-
// $block->setCanLoadTinyMce(true);
76-
// }
77-
7872
$this->getToolbar()->addChild(
7973
'back_button',
8074
\Magento\Backend\Block\Widget\Button::class,

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -584,13 +584,6 @@ public function getCommentsCollection($reload = false)
584584
{
585585
$collection = $this->_commentCollectionFactory->create()->setCreditmemoFilter($this->getId())
586586
->setCreatedAtOrder();
587-
//
588-
// $this->setComments($comments);
589-
// /**
590-
// * When credit memo created with adding comment,
591-
// * comments collection must be loaded before we added this comment.
592-
// */
593-
// $this->getComments()->load();
594587

595588
if ($this->getId()) {
596589
foreach ($collection as $comment) {

0 commit comments

Comments
 (0)