$tc->ontable = 'mtrack_repos';
$tc->onid = $checker->repo->id;
$tc->rev= $rev;
+ $tc->branch = $ce->branch;
if ($tc->count()) { // if we have already tracked this..
return false;
}
$this->changedate = date('Y-m-d H:i:s', $ce->ctime);
$this->reason = $ce->changelog;
$this->person_id = $ce->changeby_id;
-
+ $this->branch = $ce->branch;
$this->rev = $rev;
$this->insert();
if ($obj->tableName() == 'mtrack_ticket') {
$obj = $obj->project();
+ } else {
+ $obj = $obj->branchObject($this->branch);
}
if ($obj) {