split up some of the email functions for easier management

This commit is contained in:
2016-05-31 17:06:27 +10:00
parent 071ccba847
commit 02deeef731
6 changed files with 413 additions and 388 deletions

View File

@@ -144,8 +144,7 @@ function _booking_get_waitinglist_top()
LIMIT 1',
array(':eid' => $event->eid));
foreach ($result as $person)
{
foreach ($result as $person) {
watchdog('booking', "First person on the waiting list: @info", array('@info' => var_export($person, TRUE)));
return $person->nid;
}
@@ -158,8 +157,7 @@ function _booking_get_waitinglist_top()
LIMIT 1',
array(':eid' => $event->eid));
foreach ($result as $person)
{
foreach ($result as $person) {
watchdog('booking', "First person on the missed-payment-deadline list: @info", array('@info' => var_export($person, TRUE)));
return $person->nid;
}