$messages = array();
foreach($watches as $uid => $ar) {
// we can now query mtrack_change for anything that occured in that list..
- $messages[$uid] = $CS->gatherChanges($e->event_when, $uid, $ar);
+ $messages = $CS->gatherChanges($e->event_when, $uid, $ar);
+ print_R($messages);exit;
+ // we should cache the emails. = as multiple people might be getting the same email.
+
+ // should be like a list of tickets
+ foreach $messages as $m=>$ar) {
+
+
+ }
+
+
+
+
+
}
print_R($messages);
*/
}
+
+
/**
* sets:
* - from (system or a specific user.)