function nodeviewcount_install in Node view count 7.3
Same name and namespace in other branches
- 7 nodeviewcount.install \nodeviewcount_install()
- 7.2 nodeviewcount.install \nodeviewcount_install()
Implements hook_install().
File
- ./
nodeviewcount.install, line 61 - Creates table for views counting.
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);
nodeviewcount_update_7212();
}