Index: token.api.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/token/Attic/token.api.php,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 token.api.php
--- token.api.php	10 Aug 2010 03:42:54 -0000	1.1.2.1
+++ token.api.php	23 Sep 2010 01:00:27 -0000
@@ -14,12 +14,15 @@
 /**
  * Provide metadata about available placeholder tokens and token types.
  *
+ * @param $type
+ *   The type of token being replaced. 'global', 'node', and 'user', are
+ *   common.
  * @return
  *   An associative array of available tokens. The base array is keys of token
  *   types and an array of its tokens. The token arrays are keys containing the
  *   raw name of the token and values containing its user-friendly name.
  */
-function hook_token_list() {
+function hook_token_list($type = 'all') {
   $tokens = array();
 
   if ($type == 'global' || $type == 'all') {
