tidy up some disused code
This commit is contained in:
@@ -227,18 +227,6 @@ function booking_menu() {
|
||||
'type' => MENU_CALLBACK,
|
||||
);
|
||||
|
||||
/*
|
||||
$items['admin/booking/createview'] = array(
|
||||
'title' => 'Booking Test mysql view creation',
|
||||
'description' => 'Booking Test mysql view creation',
|
||||
'page callback' => '_booking_node_create_mysqlview',
|
||||
//'access arguments' => array('edit bookings'),
|
||||
//always allow access to this page - security risk!
|
||||
'access callback' => TRUE,
|
||||
'type' => MENU_CALLBACK,
|
||||
);
|
||||
*/
|
||||
|
||||
//pages for attendees to fill out information
|
||||
$items['booking'] = array(
|
||||
'title' => $bookingTitle . ' Booking Form',
|
||||
@@ -246,21 +234,12 @@ function booking_menu() {
|
||||
'access arguments' => array('access booking form'),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
// @todo remove this after testing
|
||||
/*
|
||||
$items['stripetest'] = array(
|
||||
'title' => $bookingTitle . ' Stripe Test',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_stripeform_form'),
|
||||
'access arguments' => array('access booking form'),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
*/
|
||||
|
||||
$items['bookingfinal'] = array(
|
||||
'title' => $bookingTitle . ' Registration Completed',
|
||||
'page callback' => 'booking_payment_completed_page',
|
||||
'access arguments' => array('access booking form'),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
'type' => MENU_CALLBACK,
|
||||
);
|
||||
$items['confirm/%'] = array(
|
||||
'title' => 'Booking Payment',
|
||||
|
Reference in New Issue
Block a user