remove some unneeded logging

This commit is contained in:
Nathan Coad
2018-07-01 17:20:13 +10:00
parent c77e077c29
commit ed6679c37b

View File

@@ -748,9 +748,9 @@ function _booking_room_capacity_check($room_id, $room_bedtype, $room_definition_
//check that there is sufficient capacity to allocate another person to this room and bed type
if ($mappings->num < $max_beds)
{
watchdog('booking','Sufficient capacity is available in location !id, room !room, with bed type !type. !count beds remaining of this type',
array('!id' => $details->booking_room_location_id, '!room' => $details->booking_room_number,
'!type' => _booking_room_bedtype_lookup($room_bedtype), '!count' => $max_beds - $mappings->num));
//watchdog('booking','Sufficient capacity is available in location !id, room !room, with bed type !type. !count beds remaining of this type',
// array('!id' => $details->booking_room_location_id, '!room' => $details->booking_room_number,
// '!type' => _booking_room_bedtype_lookup($room_bedtype), '!count' => $max_beds - $mappings->num));
return true;
}