function notifyEvent($event)
{
- DB_DataObject::DebugLevel(1);
+ //DB_DataObject::DebugLevel(1);
// see if there are any watches on events..
// notify everyone flagged except the person doing it...
// this is very basic logic... -
foreach($watches as $watch) {
if (!$watch->person_id) { // no people??? bugs in watch table
- $dom = explode(':',$watch->event);
+ $dom = explode(':',$watch->medium);
if (count($dom) != 2) {
continue;
}