function og_check_token in Organic groups 7
Same name and namespace in other branches
- 6.2 og.module \og_check_token()
 - 6 og.module \og_check_token()
 
Check to see if a token value matches the specified node.
File
- ./
og.module, line 2961  - Enable users to create and manage groups with roles and permissions.
 
Code
function og_check_token($token, $seed) {
  return drupal_get_token($seed) == $token;
}