diff --git a/booking.earlyaccess_admin.inc b/booking.earlyaccess_admin.inc index 543f34d..73ff92b 100644 --- a/booking.earlyaccess_admin.inc +++ b/booking.earlyaccess_admin.inc @@ -11,6 +11,8 @@ */ function booking_earlyaccess_admin() { + // @todo - list all early access codes for the current event, whether they're available, and who used them if not + global $event; $output = ""; $header = array('Study Group', 'Session Count', 'Reading Group?', 'Edit Definition'); diff --git a/booking.regn_node.inc b/booking.regn_node.inc index 14b71a2..a00d43e 100644 --- a/booking.regn_node.inc +++ b/booking.regn_node.inc @@ -276,6 +276,9 @@ function booking_insert($node) { watchdog('booking_debug', "
Inserting node:\n@info
", array('@info' => print_r($node, TRUE))); //TODO: Generalise this by using the keys from $node instead of hard coding everything + db_insert('booking_person')->fields($node)->execute(); + + /* db_insert('booking_person') ->fields(array( 'nid' => $node->nid, @@ -348,6 +351,7 @@ function booking_insert($node) { 'booking_comment_field' => $node->booking_comment_field, )) ->execute(); + */ } /**