function og_check_token in Organic groups 6.2
Same name and namespace in other branches
- 6 og.module \og_check_token()
- 7 og.module \og_check_token()
Check to see if a token value matches the specified node.
2 calls to og_check_token()
- og_approve in ./
og.module - Activate a user's membership in a group.
- og_deny in ./
og.module - Deny a user's membership request to a group.
File
- ./
og.module, line 2916 - Code for the Organic Groups module.
Code
function og_check_token($token, $seed) {
return drupal_get_token($seed) == $token;
}