continue;
}
-
-
$nn = DB_DataObject::Factory('core_notify');
$nn->ontable = $to_ontable === false ? $ontable : $to_ontable;
$nn->onid = $to_onid === false ? $onid : $to_onid;
$n->trigger_event_id = $event->id;
$n->person_id = $watch->person_id;
$n->watch_id = $watch->id;
+ $n->evtype = $watch->medium;
// does this watch already have a flag...
$nf = clone($n);
$n->act_start( empty($n->act_start) ? date("Y-m-d H:i:s") : $n->act_start );
$n->insert();
}
-
-
-
+
}
function initDatabase($roo, $data) {
foreach($data as $d) {