cleanup trailing whitespace

This commit is contained in:
2016-05-19 08:24:50 +10:00
parent ea0a6bb8fc
commit f027df3f6e
15 changed files with 35 additions and 42 deletions

View File

@@ -166,7 +166,6 @@ function booking_menu() {
'file path' => drupal_get_path('module', 'system'), 'file path' => drupal_get_path('module', 'system'),
//'type' => MENU_DEFAULT_LOCAL_TASK, //'type' => MENU_DEFAULT_LOCAL_TASK,
); );
$items['admin/config/booking/general'] = array( $items['admin/config/booking/general'] = array(

View File

@@ -885,7 +885,6 @@ function booking_view($node, $view_mode) {
); );
} }
} }
$node->content['details'] = array( $node->content['details'] = array(

View File

@@ -345,7 +345,6 @@ function booking_room_edit_form_submit($form, &$form_state) {
->condition('booking_nodeid', $values['personid']) ->condition('booking_nodeid', $values['personid'])
->execute(); ->execute();
//return; //return;
} }
//otherwise, continue with adding/updating the room allocation //otherwise, continue with adding/updating the room allocation

View File

@@ -39,7 +39,6 @@ function booking_room_view_summary() {
} }
/** /**
* Form to view or add a studygroup definition * Form to view or add a studygroup definition
*/ */
@@ -146,7 +145,6 @@ function booking_roomlocation_define_form_submit($form, &$form_state) {
//$count = db_query("SELECT count(*) as num FROM {booking_studygroup_list} WHERE booking_eventid = :eid", //$count = db_query("SELECT count(*) as num FROM {booking_studygroup_list} WHERE booking_eventid = :eid",
// array(':eid' => $event->eid))->fetchObject(); // array(':eid' => $event->eid))->fetchObject();
//watchdog('booking', 'Checkboxes when setting buttons: @info', array ('@info' => var_export($checkboxes, TRUE))); //watchdog('booking', 'Checkboxes when setting buttons: @info', array ('@info' => var_export($checkboxes, TRUE)));
if ($form_state['values']['op'] == 'Create') if ($form_state['values']['op'] == 'Create')
{ {

View File

@@ -367,7 +367,6 @@ function _booking_rooms_allocate_form_submit_helper(&$room_mapping, $room, $type
} }
/** /**
* function to generate table rows for each single bed defined in this room * function to generate table rows for each single bed defined in this room
*/ */

View File

@@ -194,7 +194,6 @@ function booking_studygroups_define_form_submit($form, &$form_state) {
$count = db_query("SELECT count(*) as num FROM {booking_studygroup_list} WHERE booking_eventid = :eid", $count = db_query("SELECT count(*) as num FROM {booking_studygroup_list} WHERE booking_eventid = :eid",
array(':eid' => $event->eid))->fetchObject(); array(':eid' => $event->eid))->fetchObject();
//watchdog('booking', 'Checkboxes when setting buttons: @info', array ('@info' => var_export($checkboxes, TRUE))); //watchdog('booking', 'Checkboxes when setting buttons: @info', array ('@info' => var_export($checkboxes, TRUE)));
if ($form_state['values']['op'] == 'Create Study Group') if ($form_state['values']['op'] == 'Create Study Group')
{ {