alroman/CS130-Mashup — pull request #2 by daifu (2011-10-29 05:55:13+00:00)
Title: Use array pop for the event object

//Previous
$e[$this->eventful_fields[$i]];
//Now
array_pop($e[$this->eventful_fields[$i]]);

In the future, you dont have to array_pop each element in the event object.