2 require_once 'MTrackWeb.php';
5 * notification script runner
7 * This does not actualy send stuf out, it only starts the NotifySend/{id}
8 * which does the actuall notifcations.
10 * It manages a pool of notifiers.
15 class Pman_Core_Notify extends Pman
20 $ff = HTML_FlexyFramework::get();
24 HTML_FlexyFramework::ensureSingle(__FILE__, $this);
33 //DB_DataObject::debugLevel(1);
34 date_default_timezone_set('UTC');
37 $w = DB_DataObject::factory('core_notify');
41 /* For each watcher, compute the changes.
42 * Group changes by ticket, sending one email per ticket.
43 * Group tickets into batch updates if the only fields that changed are
44 * bulk update style (milestone, assignment etc.)
46 * For the wiki repo, group by file so that serial edits within the batch
47 * period show up as a single email.