only load travel include when necessary
This commit is contained in:
@@ -64,7 +64,7 @@ module_load_include('inc', 'booking', 'booking.studygroups_admin');
|
||||
module_load_include('inc', 'booking', 'booking.studygroups_report');
|
||||
module_load_include('inc', 'booking', 'booking.studygroup_leaders');
|
||||
// Load the include for the travel form
|
||||
module_load_include('inc', 'booking', 'booking.travel');
|
||||
//module_load_include('inc', 'booking', 'booking.travel');
|
||||
// Load the include for managing room bookings and definitions
|
||||
module_load_include('inc', 'booking', 'booking.rooms');
|
||||
// load the include for mass-allocating people to rooms
|
||||
@@ -311,6 +311,7 @@ function booking_menu() {
|
||||
'page arguments' => array(3), //include the temporary id
|
||||
'access arguments' => array('create travel entry'),
|
||||
'type' => MENU_SUGGESTED_ITEM,
|
||||
'file' => 'booking.travel.inc',
|
||||
);
|
||||
|
||||
$items['coming'] = array(
|
||||
|
Reference in New Issue
Block a user