/[drupal]/contributions/modules/statistics_advanced/statistics_advanced.install
ViewVC logotype

Contents of /contributions/modules/statistics_advanced/statistics_advanced.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Sat Aug 2 10:37:39 2008 UTC (15 months, 3 weeks ago) by davereid
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-5, DRUPAL-6--1
File MIME type: text/x-php
Initial commit!
1 <?php
2 // $Id$
3
4 /**
5 * Implementation of hook_install().
6 */
7 function statistics_advanced_install() {
8 $weight = (int) db_result(db_query("SELECT weight FROM {system} WHERE name = 'statistics'"));
9 db_query("UPDATE {system} SET weight = %d WHERE name = 'statistics_advanced'", $weight + 1);
10 }
11
12 /**
13 * Implementation of hook_uninstall().
14 */
15 function statistics_advanced_uninstall() {
16 variable_del('statistics_advanced_ignore_repeat_views');
17 variable_del('statistics_advanced_ignore_user_roles');
18 }

  ViewVC Help
Powered by ViewVC 1.1.2