diff options
author | Sashi20 | 2021-02-11 11:16:40 +0530 |
---|---|---|
committer | GitHub | 2021-02-11 11:16:40 +0530 |
commit | 2a7455cc396d048f0482ef543f31724efd2c3750 (patch) | |
tree | 3cc3077095bdf2b3c74763dd4fd57b19afdb234a /osdag_workshop_booking.install | |
parent | 130e17968147b1acf681d9f6b5a682298b2c0e3f (diff) | |
parent | 355c534f8032831bafad47935bc7b2b714128fbe (diff) | |
download | osdag_workshop_booking-master.tar.gz osdag_workshop_booking-master.tar.bz2 osdag_workshop_booking-master.zip |
Comment hook_install
Diffstat (limited to 'osdag_workshop_booking.install')
-rw-r--r-- | osdag_workshop_booking.install | 9 |
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(). */ |