cleanup
This commit is contained in:
@@ -75,13 +75,6 @@ function booking_studygroups_csv_report($group_id) {
|
||||
}
|
||||
//watchdog('booking_debug', "<pre>Study Group CSV Report\n@info</pre>", array('@info' => print_r( $data_array, true)));
|
||||
|
||||
// Check if we had no data added, that means there were no people in this study group
|
||||
if (empty($data)) {
|
||||
drupal_set_message("Error: Study group $group_id has no people assigned.", 'error', FALSE);
|
||||
drupal_goto('admin/booking/studygroups');
|
||||
return "";
|
||||
}
|
||||
|
||||
//calculate the CSV layout
|
||||
$header_array = array_keys($data);
|
||||
$maximums = array();
|
||||
|
Reference in New Issue
Block a user