Beispiel #1
0
         break;
     case "2weeksparticipants":
         $db->updateRecord($type == 1, $id, "sent_2_weeks", 1);
         EmailHelperClass::createAndSendEmail_Reminder2WeeksParticipants($db->getPeopleFromId($type == 1, $id));
         break;
     case "2weeksparticipantsfar":
         $db->updateRecord($type == 1, $id, "sent_2_weeks", 1);
         EmailHelperClass::createAndSendEmail_Reminder2WeeksParticipantsFar($db->getPeopleFromId($type == 1, $id));
         break;
     case "2weeksmentors":
         $db->updateRecord($type == 1, $id, "sent_2_weeks", 1);
         EmailHelperClass::createAndSendEmail_Reminder2WeeksMentors($db->getPeopleFromId($type == 1, $id));
         break;
     case "tomorrowparticipants":
         $db->updateRecord($type == 1, $id, "sent_tomorrow", 1);
         EmailHelperClass::createAndSendEmail_ReminderTomorrowParticipants($db->getPeopleFromId($type == 1, $id));
         break;
     case "tomorrowmentors":
         $db->updateRecord($type == 1, $id, "sent_tomorrow", 1);
         EmailHelperClass::createAndSendEmail_ReminderTomorrowMentors($db->getPeopleFromId($type == 1, $id));
         break;
     case "confirmed":
         $db->updateRecord($type == 1, $id, "confirmed_attending", 1);
         break;
     case "unconfirmed":
         $db->updateRecord($type == 1, $id, "confirmed_attending", 0);
         break;
     default:
         break;
 }
 //die();