Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1859
 
1862
 
1862
 
customers.php
_> 198198       }
  199199 
  200200       if ( $error === false ) {
<> 201 -        $Qcb = $osC_Database->query('delete from :table_customers_basket where customers_id = :customers_id');
  202 -        $Qcb->bindTable(':table_customers_basket', TABLE_CUSTOMERS_BASKET);
  203 -        $Qcb->bindInt(':customers_id', $id);
  204 -        $Qcb->execute();
   201+        $Qsc = $osC_Database->query('delete from :table_shopping_carts where customers_id = :customers_id');
   202+        $Qsc->bindTable(':table_shopping_carts', TABLE_SHOPPING_CARTS);
   203+        $Qsc->bindInt(':customers_id', $id);
   204+        $Qsc->execute();
205205 
  206206         if ( $osC_Database->isError() ) {
  207207           $error = true;
  208208         }
  209209       }
  210210 
  211211       if ( $error === false ) {
<>  212+        $Qsccvv = $osC_Database->query('delete from :table_shopping_carts_custom_variants_values where customers_id = :customers_id');
   213+        $Qsccvv->bindTable(':table_shopping_carts_custom_variants_values', TABLE_SHOPPING_CARTS_CUSTOM_VARIANTS_VALUES);
   214+        $Qsccvv->bindInt(':customers_id', $id);
   215+        $Qsccvv->execute();
   216+
   217+        if ( $osC_Database->isError() ) {
   218+          $error = true;
   219+        }
   220+      }
   221+
   222+      if ( $error === false ) {
<_ 212223         $Qpn = $osC_Database->query('delete from :table_products_notifications where customers_id = :customers_id');
  213224         $Qpn->bindTable(':table_products_notifications', TABLE_PRODUCTS_NOTIFICATIONS);
  214225         $Qpn->bindInt(':customers_id', $id);