function nodequeue_subqueue_remove_node in Nodequeue 5.2
Same name and namespace in other branches
- 6.2 nodequeue.module \nodequeue_subqueue_remove_node()
- 7.3 nodequeue.module \nodequeue_subqueue_remove_node()
- 7.2 nodequeue.module \nodequeue_subqueue_remove_node()
Remove a node from the queue. If a node is in the queue more than once, only the first (closest to 0 position, or the front of the queue) will be removed.
Parameters
$sqid: The subqueue to remove nodes from.
$nid: The node to remove.
6 calls to nodequeue_subqueue_remove_node()
- action_nodequeue_remove in ./
nodequeue.actions.inc - Old-style action to remove a node from a queue.
- nodequeue_admin_remove_node in ./
nodequeue.module - Page callback to remove a node from a queue.
- nodequeue_nodeapi in ./
nodequeue.module - Implementation of hook_nodeapi
- nodequeue_remove_action in ./
nodequeue.actions.inc - nodequeue_workflow_ng_action_add_node_to_nodequeue in ./
nodequeue.workflow_ng.inc
File
- ./
nodequeue.module, line 1912
Code
function nodequeue_subqueue_remove_node($sqid, $nid) {
if ($pos = nodequeue_get_subqueue_position($sqid, $nid)) {
nodequeue_subqueue_remove($sqid, $pos);
}
}