You are here

function flag_check_token in Flag 6

Same name and namespace in other branches
  1. 5 flag.module \flag_check_token()
  2. 6.2 flag.module \flag_check_token()
  3. 7.3 flag.module \flag_check_token()
  4. 7.2 flag.module \flag_check_token()

Check to see if a token value matches the specified node.

1 call to flag_check_token()
flag_page in ./flag.module
Menu callback for (un)flagging a node.

File

./flag.module, line 1126

Code

function flag_check_token($token, $seed) {
  return drupal_get_token($seed) == $token;
}