<?php
	/*
	** File: REMOVE_FROM_WISHLIST
	** Description: remove SKU from wishlist
	** Version: $Revision: 1.5 $
	** Created: 06/10/1999
	** Author: Leon Atkinson
	** Email: leon@clearink.com
	** CVS Author: $Author: leon $
	** Last Revised: $Date: 1999/11/09 00:28:13 $
	**
	** Log : $Log: REMOVE_FROM_WISHLIST,v $
	** Log : Revision 1.5  1999/11/09 00:28:13  leon
	** Log : Changed use of notes column.  This column now stores an array of variation
	** Log : IDs in serialized form.  Names for attributes and variations are pulled
	** Log : from the database using two new functions in the attribute_functions
	** Log : include module.
	** Log :
	** Log : Revision 1.4  1999/08/18 22:31:50  leon
	** Log : Returning opening PHP tag to XML-friendly tag
	** Log :
	** Log : Revision 1.3  1999/07/28 19:27:14  leon
	** Log : Mass update based on code donation from a live project
	** Log :
	**
	** Copyright (c) 1999 Working Dogs.  All rights reserved.
	*/

	if($UserInfo["ID"] >0)
	{	
		//remove from wishlist
		$Query = "DELETE FROM user_sku ";
		$Query .= "WHERE ID = $input_ID ";
		$Query .= "AND User = " . $UserInfo["ID"] . " ";
	
		//execute query
		mysql_query($Query, $DatabaseLink);
	}	
?>
