Code Changes (2013-11-23-A)

—eventbrite_sboc/eventbrite_sboc.install
Added schema modificatons to add two (2) columns:
1: reg_type
2: region_name
Added two (2) indexes
1: eventbrite_sboc_attendees_reg_type
2: eventbrite_sboc_attendees_region
—eventbrite_sboc/eventbrite_sboc.module
1: Changed constant values related to survey questions from integer to
string due to data changes on Eventbrite
2: Added “Free Order” type
3: Added “cron queue” related constant value
4: Commented/Removed cron event callback function
5: Added *_cron_queue event callback function
6: Refactored *_auto_sender event callback function
7: Added *_cronapi event callback function
8: Refactored *_kick_service function
9: Refactored *_pending_list function to add “modified_after” parameter
to “event_list_attendees” message
10: Wrapped “event_list_attendees” in try…catch
11:  Initialized $eb_client variable to StdClass object construct
12: Initialized attendees member to empty array when error is caught
13: Conditionally intialize select $_SESSION variables to eliminate PHP
notices and enable table rendering
14: Added Free Order value to allowed payment status
values
15: Refactored *_answer_id function
16: Refactored table data handling code to allow saving/update of new
coluns
19:  Refactored *_event_attendee_id function to reference correct table
- eventbrite_sboc_attendees
20: Added new function *_email_to_attendee_pending
21: Refactored *_send_email code
22: Refactored *_mail functiion implementing switch statement to check
mail key value
23: Called check mail function with email subject
24: Refactored *_process_emails to use return address confuigured
through module; alternatively, use site-wide email configured in Drupal
25: Included latest Eventbrite.php class file
26: Refactored *_admin_send_email to simply send a test email via
*_send_email function