summaryrefslogtreecommitdiff
path: root/osdag_workshop_booking.install
diff options
context:
space:
mode:
Diffstat (limited to 'osdag_workshop_booking.install')
-rw-r--r--osdag_workshop_booking.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/osdag_workshop_booking.install b/osdag_workshop_booking.install
index e69de29..5748787 100644
--- a/osdag_workshop_booking.install
+++ b/osdag_workshop_booking.install
@@ -0,0 +1,20 @@
+<?php
+// $Id$
+/**
+ * Implementation of hook_install().
+ */
+function osdag_workshop_booking_install()
+{
+ variable_set('mail_system', array('default-system' => 'DefaultMailSystem', 'osdag_workshop_booking' => 'WorkshopMailSystem'));
+}
+/**
+ * Implementation of hook_uninstall().
+ */
+function osdag_workshop_booking_uninstall()
+{
+
+//Unset module keys in variable mail_system
+ $mail_system = variable_get('mail_system', array('default-system' => 'DefaultMailSystem', 'osdag_workshop_booking' => 'WorkshopMailSystem'));
+ unset($mail_system['osdag_workshop_booking']);
+ variable_set('mail_system', $mail_system);
+}