You are here

function amazon_versions_amazon_item_delete in Amazon Product Advertisement API 7

Same name and namespace in other branches
  1. 6 amazon_versions/amazon_versions.module \amazon_versions_amazon_item_delete()
  2. 7.2 amazon_versions/amazon_versions.module \amazon_versions_amazon_item_delete()

Implements hook_amazon_item_delete().

File

amazon_versions/amazon_versions.module, line 70
amazon_versions.module Retrieves and stores a list of alternate ASIN numbers for each product.

Code

function amazon_versions_amazon_item_delete($asin) {
  db_query("DELETE FROM {amazon_versions} WHERE item = :item", array(
    ':item' => $asin,
  ));
}