studygroup code cleanup

This commit is contained in:
2014-11-18 17:40:18 +11:00
parent 66c859f2af
commit 772b05f9cf
2 changed files with 38 additions and 5 deletions

View File

@@ -1555,7 +1555,7 @@ function _booking_update($node) {
array('!first' => $node->booking_firstname, '!last' => $node->booking_lastname, '!refund' => $refund)));
//Remove from any study groups
_booking_studygroups_cleanup($node->nid);
_booking_person_studygroups_cleanup($node->nid);
//Remove from any rooms allocated
_booking_rooms_cleanup($node->nid);
@@ -1614,7 +1614,7 @@ function _booking_update($node) {
_booking_missedpayment_email($node->nid);
//Remove from any study groups
_booking_studygroups_cleanup($node->nid);
_booking_person_studygroups_cleanup($node->nid);
//Remove from any rooms allocated
_booking_rooms_cleanup($node->nid);
@@ -1653,7 +1653,7 @@ function _booking_update($node) {
array('!first' => $node->booking_firstname, '!last' => $node->booking_lastname, '!refund' => $refund)));
//Remove from any study groups
_booking_studygroups_cleanup($node->nid);
_booking_person_studygroups_cleanup($node->nid);
}
//if we're not automatically sending emails on registration
//and someone moved from not-paid to booked-in (ie, manual payment process)