$nw->insert();
}
-
+ /**
+ * Generate a notify event based on watches (matching whereAdd)
+ *
+ */
function notify($ontable , $onid, $whereAdd)
{
$w = DB_DataObject::factory('core_watch');
}
$n = clone($nn);
+ $n->trigger_person_id = $event->person_id;
+ $n->trigger_event_id = $event->id;
$n->person_id = $watch->person_id;
$n->watch_id = $watch->id;