Skip to content

Commit

Permalink
eZOrder: cleanup eZOrderItems
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfin authored Aug 28, 2020
1 parent 39596ff commit 3291c08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/classes/ezorder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1353,6 +1353,7 @@ static function cleanupOrder( $orderID )
$db = eZDB::instance();
$db->begin();
$db->query( "DELETE FROM ezorder where id='$orderID'" );
$db->query( "DELETE FROM ezorder_item WHERE order_id=$orderID" );
$db->query( "DELETE FROM ezproductcollection where id='$productCollectionID'" );
$db->query( "DELETE FROM ezproductcollection_item where productcollection_id='$productCollectionID'" );
$db->query( "DELETE FROM ezorder_status_history WHERE order_id=$orderNr" );
Expand Down

0 comments on commit 3291c08

Please sign in to comment.