}
function onInsert($request,$roo)
- {
-
+ {
// this will send
// for a commit ? - ontable = repos, onid = the repo id...
// for a change... ontable - will be the ticked, and onid will be the ticket id..
$obj = $this->objectCached();
-
-
if ($obj->tableName() == 'mtrack_ticket') {
$obj = $obj->project();
} else {
$obj = $obj->branchObject($this->branch);
}
if ($obj) {
-
-
+
$core_watch = DB_DataObject::Factory('core_watch');
$core_watch->notify(
$obj->tableName(),