summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202021-02-11 11:16:40 +0530
committerGitHub2021-02-11 11:16:40 +0530
commit2a7455cc396d048f0482ef543f31724efd2c3750 (patch)
tree3cc3077095bdf2b3c74763dd4fd57b19afdb234a
parent130e17968147b1acf681d9f6b5a682298b2c0e3f (diff)
parent355c534f8032831bafad47935bc7b2b714128fbe (diff)
downloadosdag_workshop_booking-2a7455cc396d048f0482ef543f31724efd2c3750.tar.gz
osdag_workshop_booking-2a7455cc396d048f0482ef543f31724efd2c3750.tar.bz2
osdag_workshop_booking-2a7455cc396d048f0482ef543f31724efd2c3750.zip
Merge pull request #2 from Sashi20/masterHEADmaster
Comment hook_install
-rw-r--r--osdag_workshop_booking.install9
1 files changed, 5 insertions, 4 deletions
diff --git a/osdag_workshop_booking.install b/osdag_workshop_booking.install
index ee1bfdf..64af29f 100644
--- a/osdag_workshop_booking.install
+++ b/osdag_workshop_booking.install
@@ -5,8 +5,9 @@
*/
function osdag_workshop_booking_enable() {
//Check if table exists, if not install the schema.
- if((db_table_exists('list_states_of_india') == FALSE) || (db_table_exists('osdag_workshop_booking_proposal') == FALSE)) {
+ /*if((db_table_exists('list_states_of_india') == FALSE) || (db_table_exists('osdag_workshop_booking_proposal') == FALSE)) {
drupal_install_schema('osdag_workshop_booking');
+ */ variable_set('mail_system', array('default-system' => 'DefaultMailSystem', 'osdag_workshop_booking' => 'WorkshopMailSystem'));
_osdag_workshop_booking_default_insert('Andhra Pradesh');
_osdag_workshop_booking_default_insert('Arunachal Pradesh');
_osdag_workshop_booking_default_insert('Assam');
@@ -43,16 +44,16 @@ function osdag_workshop_booking_enable() {
_osdag_workshop_booking_default_insert('Lakshadweep');
_osdag_workshop_booking_default_insert('National Capital Territory of Delhi');
_osdag_workshop_booking_default_insert('Puducherry (Pondicherry)');
- }
+ //}
}
/**
* Implementation of hook_install().
*/
-function osdag_workshop_booking_install()
+/*function osdag_workshop_booking_install()
{
drupal_install_schema('osdag_workshop_booking');
variable_set('mail_system', array('default-system' => 'DefaultMailSystem', 'osdag_workshop_booking' => 'WorkshopMailSystem'));
-}
+}*/
/**
* Implementation of hook_schema().
*/