You are here

function nodeviewcount_install in Node view count 7

Same name and namespace in other branches
  1. 7.3 nodeviewcount.install \nodeviewcount_install()
  2. 7.2 nodeviewcount.install \nodeviewcount_install()

Implements hook_install().

File

./nodeviewcount.install, line 48

Code

function nodeviewcount_install() {
  variable_set('nodeviewcount_node_types', array());
  variable_set('nodeviewcount_user_roles', array());
  variable_set('nodeviewcount_way_counting', NODEVIEWCOUNT_PHP_WAY_COUNT_VIEWS);
  variable_set('nodeviewcount_flush_log_timer', 0);
}