You are here

function uc_wishlist_delete in UC Wish List 6

Same name and namespace in other branches
  1. 7 uc_wishlist.module \uc_wishlist_delete()
2 calls to uc_wishlist_delete()
uc_wishlist_admin_delete_form_submit in ./uc_wishlist.admin.inc
uc_wishlist_user in ./uc_wishlist.module
Implementation of hook_user().

File

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

Code

function uc_wishlist_delete($wid) {
  db_query('DELETE FROM {uc_wishlists} WHERE wid = %d', $wid);
  db_query('DELETE FROM {uc_wishlist_products} WHERE wid = %d', $wid);
}