You are here

function nodequeue_check_token in Nodequeue 7.3

Same name and namespace in other branches
  1. 5.2 nodequeue.module \nodequeue_check_token()
  2. 6.2 nodequeue.module \nodequeue_check_token()
  3. 7.2 nodequeue.module \nodequeue_check_token()

Check to see if the token generated from seed matches.

3 calls to nodequeue_check_token()
nodequeue_admin_add_node in includes/nodequeue.admin.inc
Page callback to add a node to a queue.
nodequeue_admin_remove in includes/nodequeue.admin.inc
Page callback to remove an item from a queue. This will be used only if javascript is disabled in the client, and is a fallback technique. This differs from nodequeue_admin_remove_node in that it removes a specific position, which is necessary in case…
nodequeue_admin_remove_node in includes/nodequeue.admin.inc
Page callback to remove a node from a queue.

File

./nodequeue.module, line 1888
Maintains queues of nodes in arbitrary order.

Code

function nodequeue_check_token($seed) {
  return drupal_get_token($seed) == $_GET['token'];
}