You are here

function uc_wishlist_remove_item in UC Wish List 7

Same name and namespace in other branches
  1. 6 uc_wishlist.module \uc_wishlist_remove_item()

Remove an item from the wish list.

1 call to uc_wishlist_remove_item()
uc_product_update_wishlist_item in ./uc_wishlist.module
Update information about a specific item in current wish list.

File

./uc_wishlist.module, line 869
Allows users to create public shopping/wish lists.

Code

function uc_wishlist_remove_item($wpid) {
  db_delete('uc_wishlist_products')
    ->condition('wpid', $wpid)
    ->execute();
}