You are here

function uc_wishlist_remove_item in UC Wish List 6

Same name and namespace in other branches
  1. 7 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 735
Allows users to create public shopping/wish lists.

Code

function uc_wishlist_remove_item($wpid) {
  db_query("DELETE FROM {uc_wishlist_products} WHERE wpid = %d", $wpid);
}