Skip to content

Commit

Permalink
unused variable cleanup (OpenMage#910)
Browse files Browse the repository at this point in the history
  • Loading branch information
henrykbrzoska authored Mar 10, 2020
1 parent 17a8221 commit c6f200c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/code/core/Mage/Sales/Controller/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,9 @@ public function reorderAction()
return;
}
$order = Mage::registry('current_order');

$cart = Mage::getSingleton('checkout/cart');
$cartTruncated = false;

/* @var $cart Mage_Checkout_Model_Cart */
$cart = Mage::getSingleton('checkout/cart');

$items = $order->getItemsCollection();
foreach ($items as $item) {
Expand Down

0 comments on commit c6f200c

Please sign in to comment.