You are here

function mostpopular_install in Drupal Most Popular 6

Implements hook_install().

File

./mostpopular.install, line 19
Install and uninstall functions for the Most Popular module.

Code

function mostpopular_install() {
  drupal_set_message(t('Installing most popular tables'));
  drupal_install_schema('mostpopular');
  module_load_include('php', 'mostpopular', 'classes/intervals');
  MostPopularInterval::reset();
}