summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-02-22 18:54:40 +0100
committerAndrey Andreev <narf@bofh.bg>2012-02-22 18:54:40 +0100
commitd5e6320ea15edfe31155cb3155d4dd91d24e68e1 (patch)
treeced7f81ccdbc31bc938b7a92d0ae3a2c7917756c /system/libraries
parentb606d679bb0e935f40fb065137a4f7b7ddc85b5a (diff)
parente2675736f3a68b1f64e135d827f6a70e0ae892fb (diff)
Merge upstream branch
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Cart.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/system/libraries/Cart.php b/system/libraries/Cart.php
index ba8d69be2..10b5362a5 100644
--- a/system/libraries/Cart.php
+++ b/system/libraries/Cart.php
@@ -329,13 +329,6 @@ class CI_Cart {
return FALSE;
}
- // Is the new quantity different than what is already saved in the cart?
- // If it's the same there's nothing to do
- if ($this->_cart_contents[$items['rowid']]['qty'] == $items['qty'])
- {
- return FALSE;
- }
-
// Is the quantity zero? If so we will remove the item from the cart.
// If the quantity is greater than zero we are updating
if ($items['qty'] == 0)