Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
mage2pratik committed Jul 17, 2018
1 parent 8e384f9 commit 51844a8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
6 changes: 0 additions & 6 deletions app/code/Magento/Newsletter/Block/Adminhtml/Template/Edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,6 @@ public function getModel()
*/
protected function _prepareLayout()
{
// Load Wysiwyg on demand and Prepare layout
// $block = $this->getLayout()->getBlock('head');
// if ($this->_wysiwygConfig->isEnabled() && $block) {
// $block->setCanLoadTinyMce(true);
// }

$this->getToolbar()->addChild(
'back_button',
\Magento\Backend\Block\Widget\Button::class,
Expand Down
7 changes: 0 additions & 7 deletions app/code/Magento/Sales/Model/Order/Creditmemo.php
Original file line number Diff line number Diff line change
Expand Up @@ -584,13 +584,6 @@ public function getCommentsCollection($reload = false)
{
$collection = $this->_commentCollectionFactory->create()->setCreditmemoFilter($this->getId())
->setCreatedAtOrder();
//
// $this->setComments($comments);
// /**
// * When credit memo created with adding comment,
// * comments collection must be loaded before we added this comment.
// */
// $this->getComments()->load();

if ($this->getId()) {
foreach ($collection as $comment) {
Expand Down

0 comments on commit 51844a8

Please sign in to comment.