summaryrefslogtreecommitdiff
path: root/modules/trigger/trigger.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/trigger/trigger.install')
-rw-r--r--modules/trigger/trigger.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/trigger/trigger.install b/modules/trigger/trigger.install
new file mode 100644
index 000000000..13dd08ae1
--- /dev/null
+++ b/modules/trigger/trigger.install
@@ -0,0 +1,21 @@
+<?php
+// $Id$
+
+/**
+ * Implementation of hook_install().
+ */
+function trigger_install() {
+ // Create tables.
+ drupal_install_schema('trigger');
+
+ // Do initial synchronization of actions in code and the database.
+ actions_synchronize(actions_list());
+}
+
+/**
+ * Implementation of hook_uninstall().
+ */
+function trigger_uninstall() {
+ // Remove tables.
+ drupal_uninstall_schema('trigger');
+}