code cleanup

This commit is contained in:
2016-04-19 09:41:16 +10:00
parent 21f1dcb8c9
commit ad9e972c26

View File

@@ -29,17 +29,6 @@ function booking_balance_page() {
$person = $query->execute() $person = $query->execute()
->fetchObject(); ->fetchObject();
/*
//fetch details about the person
$query = db_select('booking_person', 'p');
$query->join('booking_price', 'pr', 'p.booking_payment_id = pr.pid');
$query->condition('p.booking_tempid', arg(1), '=')
->fields('p')
->fields('pr', array('booking_price', 'booking_price_descrip'));
$person = $query->execute()
->fetchObject();
*/
if ($person) if ($person)
{ {
//load all the fields //load all the fields