Removed commented out section

This commit is contained in:
2014-02-07 00:59:47 +11:00
parent 963bebdd41
commit 5e2024df17

View File

@@ -64,37 +64,6 @@ function booking_report_summary() {
} }
//non australian states //non australian states
$state_rows[] = array('International', $non_australia_count); $state_rows[] = array('International', $non_australia_count);
/*
//general stats
$query = db_select('booking_person', 'p')
->fields('p', array('booking_baptised', 'booking_married', 'booking_gender', 'booking_dob'))
->condition('p.booking_event_id', $event->eid, '=');
$general_stats = $query->execute();
foreach ($general_stats as $person)
{
$dob_total += $person->booking_dob;
$person_count++;
if ($person->booking_gender == 'M')
{
$male_count++;
$male_dob_total += $person->booking_dob;
}
else
{
$female_count++;
$female_dob_total += $person->booking_dob;
}
if ($person->booking_baptised == 'Y')
$baptised_count++;
if ($person->booking_married == 'Y')
$married_count++;
}
*/
//bookings by ecclesia //bookings by ecclesia
$query = db_select('booking_person', 'p') $query = db_select('booking_person', 'p')