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

Contents of /contributions/modules/storm/storm.install

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


Revision 1.1 - (show annotations) (download) (as text)
Fri Sep 4 14:22:14 2009 UTC (2 months, 3 weeks ago) by magnity
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-6--1
File MIME type: text/x-php
Task #510742 by Magnity: Port to Drupal 7
1 <?php
2 // $Id:$
3
4 /**
5 * @file
6 * Install, update and uninstall functions for the Storm module.
7 */
8
9 /**
10 * @function
11 * Install function for the Storm module
12 */
13 function storm_install() {
14 variable_set('storm_report_header', '');
15 variable_set('storm_icons_path', drupal_get_path('module', 'storm') .'/icons');
16 variable_set('storm_organization_nid', 0);
17 variable_set('storm_yearsrangebegin', 2001);
18 variable_set('storm_yearsrangeend', 2012);
19 }
20
21 /**
22 * @function
23 * Uninstall function for the Storm module
24 */
25 function storm_uninstall() {
26 variable_del('storm_report_header');
27 variable_del('storm_icons_path');
28 variable_del('storm_organization_nid');
29 variable_del('storm_yearsrangebegin');
30 variable_del('storm_yearsrangeend');
31 }

  ViewVC Help
Powered by ViewVC 1.1.2