From a598d12662ad2289b0d15f239201ff4b404d69af Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Wed, 24 Oct 2018 16:41:05 +0530 Subject: added install file --- osdag_workshop_booking.install | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 @@ + '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); +} -- cgit