From 5020b3466ebfc0cfa472238c76ff251ecd6acd20 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Mon, 16 Jul 2018 16:20:21 +1000 Subject: [PATCH] only load travel include when necessary --- booking.module | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/booking.module b/booking.module index 17bf332..7e233f4 100644 --- a/booking.module +++ b/booking.module @@ -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(