summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprashantsinalkar2018-10-24 16:41:05 +0530
committerprashantsinalkar2018-10-24 16:41:05 +0530
commita598d12662ad2289b0d15f239201ff4b404d69af (patch)
treed082d5da063eae3e3bdbbe8d266105c55685c7d6
parent11c1bcaf56a02f7aded7d1f59c326a1eb010274e (diff)
downloadosdag_workshop_booking-a598d12662ad2289b0d15f239201ff4b404d69af.tar.gz
osdag_workshop_booking-a598d12662ad2289b0d15f239201ff4b404d69af.tar.bz2
osdag_workshop_booking-a598d12662ad2289b0d15f239201ff4b404d69af.zip
added install file
-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);
+}