diff --git a/mobile/shop/cart.php b/mobile/shop/cart.php index 15d7fe2f6..22a8c7562 100644 --- a/mobile/shop/cart.php +++ b/mobile/shop/cart.php @@ -17,10 +17,6 @@ $sql = " select a.ct_id, b.ca_id from {$g5['g5_shop_cart_table']} a left join {$g5['g5_shop_item_table']} b on ( a.it_id = b.it_id ) where a.od_id = '$s_cart_id' "; -if($default['de_cart_keep_term']) { - $ctime = date('Y-m-d', G5_SERVER_TIME - ($default['de_cart_keep_term'] * 86400)); - $sql .= " and substring(a.ct_time, 1, 10) >= '$ctime' "; -} $sql .= " group by a.it_id "; $sql .= " order by a.ct_id "; $result = sql_query($sql);