summaryrefslogtreecommitdiff
path: root/modules/actions/actions.install
blob: fecb8757ed98dc37ffd2ad3dc1cd824ccf792043 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
// $Id$

/**
 * Implementation of hook_install().
 */
function actions_install() {
  // Create tables.
  drupal_install_schema('actions');

  // Do initial synchronization of actions in code and the database.
  actions_synchronize(actions_list());
}

/**
 * Implementation of hook_uninstall().
 */
function actions_uninstall() {
  // Remove tables.
  drupal_uninstall_schema('actions');
}