ancient code cleanup
This commit is contained in:
@@ -527,27 +527,8 @@ function booking_update_7231() {
|
||||
* Implementation of hook_install().
|
||||
*/
|
||||
function booking_install() {
|
||||
// Create tables.
|
||||
//not needed for d7
|
||||
//drupal_install_schema('booking');
|
||||
|
||||
//TODO: Don't hard code this
|
||||
//define('EVENTID', 1);
|
||||
|
||||
/*
|
||||
limit bookings to 350
|
||||
|
||||
|
||||
non workers $260
|
||||
workers $300
|
||||
married $540
|
||||
|
||||
full payment after 28 feb
|
||||
$380 pp
|
||||
*/
|
||||
|
||||
|
||||
|
||||
// Create some sample data
|
||||
// TODO: Set default values for the config pages too
|
||||
$result = db_insert('booking_price')
|
||||
->fields(array(
|
||||
'booking_eventid' => 1,
|
||||
@@ -561,7 +542,7 @@ $result = db_insert('booking_price')
|
||||
|
||||
$result = db_insert('booking_event')
|
||||
->fields(array(
|
||||
'booking_eventname' => 'Study Weekend 2012',
|
||||
'booking_eventname' => 'Sample Event',
|
||||
'booking_event_active' => 1,
|
||||
'booking_register_open' => 1312207199,
|
||||
'booking_register_close' => 1340459999,
|
||||
@@ -569,9 +550,7 @@ $result = db_insert('booking_event')
|
||||
))
|
||||
->execute();
|
||||
|
||||
//earlybird close is 31st Jan 2012 at 13:59:59 UTC
|
||||
|
||||
|
||||
//earlybird close is 31st Jan 2012 at 13:59:59 UTC
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user