### Eclipse Workspace Patch 1.0
#P amazon
Index: amazon.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/amazon/amazon.module,v
retrieving revision 1.48
diff -u -r1.48 amazon.module
--- amazon.module	14 Feb 2011 01:00:57 -0000	1.48
+++ amazon.module	16 Feb 2011 09:11:35 -0000
@@ -922,53 +922,6 @@
   }
 }
 
-//D6FIX: hook_token_info
-function amazon_token_list($type = 'all') {
-  if ($type == 'amazon_item' || $type == 'all') {
-    $tokens['amazon_item']['asin'] = t('Product ID');
-    $values['amazon_item']['isbn'] = t('The 10-digit ISBN (International Standard Book Number)');
-    $values['amazon_item']['ean'] = t('The EAN or 13-digit ISBN');
-    $tokens['amazon_item']['detailpageurl'] = t('The detail page URL for the item');
-    $tokens['amazon_item']['salesrank'] = t("The product's sales rank");
-    $tokens['amazon_item']['brand'] = t("The product's brand");
-    $tokens['amazon_item']['publisher'] = t("The product's publisher");
-    $tokens['amazon_item']['manufacturer'] = t("The product's manufacturer");
-    $tokens['amazon_item']['studio'] = t("The product's studio");
-    $tokens['amazon_item']['label'] = t("The product's label");
-    $tokens['amazon_item']['binding'] = t("The product's binding type");
-    $tokens['amazon_item']['releasedate'] = t("The product's release date");
-    $tokens['amazon_item']['listprice'] = t("The product's list price");
-    $tokens['amazon_item']['producttype'] = t("The product's Amazon product type");
-    $values['amazon_item']['lowestprice'] = t('The lowest price currently offered by any merchant at Amazon');
-    $values['amazon_item']['amazonprice'] = t('Current price offered by Amazon');
-    return $tokens;
-  }
-}
-
-//D6FIX: hook_tokens()
-function amazon_token_values($type, $object = NULL, $options = array()) {
-  if ($type == 'amazon_item' || $type == 'all') {
-    $item = (array) $object;
-    $values['asin'] = check_plain($item['asin']);
-    $values['isbn'] = check_plain($item['isbn']);
-    $values['ean'] = check_plain($item['ean']);
-    $values['detailpageurl'] = check_url($item['detailpageurl']);
-    $values['salesrank'] = check_plain($item['salesrank']);
-    $values['brand'] = check_plain($item['brand']);
-    $values['publisher'] = check_plain($item['publisher']);
-    $values['manufacturer'] = check_plain($item['manufacturer']);
-    $values['studio'] = check_plain($item['studio']);
-    $values['label'] = check_plain($item['label']);
-    $values['binding'] = check_plain($item['binding']);
-    $values['releasedate'] = check_plain($item['releasedate']);
-    $values['listprice'] = check_plain($item['listpriceformattedprice']);
-    $values['producttype'] = check_plain($item['producttype']);
-    $values['lowestprice'] = check_plain($item['lowestpriceformattedprice']);
-    $values['amazonprice'] = check_plain($item['amazonpriceformattedprice']);
-    return $values;
-  }
-}
-
 /**
  * Implementation of hook_views_api.
  */
