function subscriptions_node_is_blocked in Subscriptions 6
Same name and namespace in other branches
- 5.2 subscriptions.module \subscriptions_node_is_blocked()
- 7 subscriptions.module \subscriptions_node_is_blocked()
- 2.0.x subscriptions.module.old.php \subscriptions_node_is_blocked()
Returns TRUE if the given $nid is blocked.
2 calls to subscriptions_node_is_blocked()
- subscriptions_ui_get_permission_to_handle in ./
subscriptions_ui.module - Ask for permission to display the subscriptions interface for the given node.
- subscriptions_ui_node_form in ./
subscriptions_ui.module - Returns the form definition for the node subform.
File
- ./
subscriptions.module, line 584 - Subscriptions module.
Code
function subscriptions_node_is_blocked($nid) {
return strpos(' ' . variable_get('subscriptions_blocked_nodes', '') . ' ', ' ' . $nid . ' ');
}