You are here

function flag_check_token in Flag 6.2

Same name and namespace in other branches
  1. 5 flag.module \flag_check_token()
  2. 6 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 1660
The Flag module.

Code

function flag_check_token($token, $content_id) {
  return flag_get_token($content_id) == $token;
}