You are here

function featured_content_node_statistics_enabled in Featured Content 6

Same name and namespace in other branches
  1. 6.2 featured_content.module \featured_content_node_statistics_enabled()
  2. 7.2 featured_content.module \featured_content_node_statistics_enabled()
  3. 7 featured_content.module \featured_content_node_statistics_enabled()

Check if node statistics is enabled.

2 calls to featured_content_node_statistics_enabled()
featured_content_get_nodes in ./featured_content.module
Gets nodes from nids.
featured_content_save in ./featured_content.admin.inc
Returns the 'save' $op info for hook_block().

File

./featured_content.module, line 980
Featured Content module for created related & featured content blocks.

Code

function featured_content_node_statistics_enabled() {
  return module_exists('statistics') && variable_get('statistics_count_content_views', 0);
}