File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed
Newsletter/Block/Adminhtml/Template Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -69,12 +69,6 @@ public function getModel()
69
69
*/
70
70
protected function _prepareLayout ()
71
71
{
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
-
78
72
$ this ->getToolbar ()->addChild (
79
73
'back_button ' ,
80
74
\Magento \Backend \Block \Widget \Button::class,
Original file line number Diff line number Diff line change @@ -584,13 +584,6 @@ public function getCommentsCollection($reload = false)
584
584
{
585
585
$ collection = $ this ->_commentCollectionFactory ->create ()->setCreditmemoFilter ($ this ->getId ())
586
586
->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();
594
587
595
588
if ($ this ->getId ()) {
596
589
foreach ($ collection as $ comment ) {
You can’t perform that action at this time.
0 commit comments