Code to cleanup room allocations

This commit is contained in:
2014-05-28 15:25:21 +10:00
parent bdd980f13e
commit 6e1c8633dc
4 changed files with 60 additions and 11 deletions

View File

@@ -1379,6 +1379,9 @@ function _booking_update($node) {
//Remove from any study groups
_booking_studygroups_cleanup($node->nid);
//Remove from any rooms allocated
_booking_rooms_cleanup($node->nid);
//check if there is room on the booked-in list
if (_booking_check_bookings_full() == False)
{