function rooms_booking_type_delete in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
Deletes a booking type from the db.
File
- modules/
rooms_booking/ rooms_booking.module, line 805 - Manage Bookings - Bookings are tied to a customer profile and possible a Unit ID and Order ID.
Code
function rooms_booking_type_delete(RoomsBookingType $type) {
$type
->delete();
}