You are here

statistics_advanced.install in Statistics Advanced 5

Same filename and directory in other branches
  1. 6 statistics_advanced.install

File

statistics_advanced.install
View source
<?php

/**
 * Implementation of hook_install().
 */
function statistics_advanced_install() {
  $weight = (int) db_result(db_query("SELECT weight FROM {system} WHERE name = 'statistics'"));
  db_query("UPDATE {system} SET weight = %d WHERE name = 'statistics_advanced'", $weight + 1);
}

/**
 * Implementation of hook_uninstall().
 */
function statistics_advanced_uninstall() {
  variable_del('statistics_advanced_ignore_repeat_views');
  variable_del('statistics_advanced_ignore_user_roles');
}

Functions

Namesort descending Description
statistics_advanced_install Implementation of hook_install().
statistics_advanced_uninstall Implementation of hook_uninstall().