Remove old code
This commit is contained in:
@@ -21,13 +21,7 @@ function booking_room_view_summary() {
|
||||
->fields('l')
|
||||
->condition('l.booking_roomlocation_active', 'Y', '=');
|
||||
$result = $query->execute();
|
||||
/*
|
||||
//get room definitions
|
||||
$room_definitions = _booking_room_location_lookup();
|
||||
//ditch the first element which is empty
|
||||
array_shift($room_definitions);
|
||||
$i = 1;
|
||||
*/
|
||||
|
||||
foreach ($result as $room) {
|
||||
$rows[] = array(
|
||||
$room->booking_roomlocation_descrip,
|
||||
|
Reference in New Issue
Block a user