According to the documentation, the hooks for declaring tokens have changed in D7:
http://drupal.org/documentation/modules/token/update/6/7

so neither one of these hooks is being called.

I would roll a patch, but I think the issue of adding these hooks through hook_init() could be revisited, as mentioned in this issue
http://drupal.org/node/877190

Comments

ckng’s picture

#877190: hook_init() issue is no longer relevant.
Please go ahead and create patch for token support in D7.