commit a69010f3c59e65d7ae63c51787ccd5457479632d Author: Rune Schjellerup Philosof Date: Fri Apr 12 12:59:50 2013 +0200 Issue #1125922 by RunePhilosof: Use the proper namespace. diff --git a/addons/nodequeue_rules/nodequeue_rules.rules.inc b/addons/nodequeue_rules/nodequeue_rules.rules.inc index a570a54..5d2368f 100644 --- a/addons/nodequeue_rules/nodequeue_rules.rules.inc +++ b/addons/nodequeue_rules/nodequeue_rules.rules.inc @@ -10,7 +10,7 @@ */ function nodequeue_rules_rules_condition_info() { return array( - 'nodequeue_node_in_queue' => array( + 'nodequeue_rules_node_in_queue' => array( 'label' => t('Nodequeue the node belongs to'), 'group' => t('Nodequeue'), 'parameter' => array( @@ -31,9 +31,9 @@ function nodequeue_rules_rules_condition_info() { } /** - * The callback for the condition 'nodequeue_rules_nodequeue_node_was_added' + * The callback for the condition 'nodequeue_rules_node_in_queue' */ -function nodequeue_node_in_queue($queue_name, $node) { +function nodequeue_rules_node_in_queue($queue, $node) { // Note that the order of the parameters is the same as in the declaration of // the condition. Use the same variable names as in the declaration to avoid // confusion.