trigger.install 395 Bytes
Newer Older
1
2
3
4
5
6
<?php
// $Id$

/**
 * Implementation of hook_install().
 */
7
function trigger_install() {
8
  // Create tables.
9
  drupal_install_schema('trigger');
10

Dries's avatar
Dries committed
11
  // Do initial synchronization of actions in code and the database.
12
13
14
15
16
17
  actions_synchronize(actions_list());
}

/**
 * Implementation of hook_uninstall().
 */
18
function trigger_uninstall() {
19
  // Remove tables.
20
  drupal_uninstall_schema('trigger');
21
}