studygroup code cleanup
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user