remove unnecessary code

This commit is contained in:
Bilal Catic
2018-10-14 23:42:18 +02:00
parent d7c34c3b0b
commit a5168d3487

View File

@@ -34,8 +34,6 @@ class Wiaas_Checkout {
do_action( 'woocommerce_before_checkout_process' );
$customer = wp_get_current_user();
// Check if cart empty before proceeding
if (WC()->cart->is_empty()) {
return false;