summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2012-02-17 15:27:44 +0100
committerTimothy Warren <tim@timshomepage.net>2012-02-17 15:27:44 +0100
commit9fad90f60dc9613527f1a1215d89a41a45878f5c (patch)
treee88e95ee3a40555fac6f1702e81893a888284082 /system/libraries
parent3c4281f09dce0a97ab700d79e26308fdab350b73 (diff)
parent7a2412cfe7f7d8db3eb845542609c476c52efc3d (diff)
Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into firebird
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)