Fix #6661 - modify hooks to update timeshetet
[web.mtrack] / MTrack / CommitChecker.php
index c4f7cda..e1c2091 100644 (file)
@@ -196,7 +196,8 @@ class MTrack_CommitChecker {
             $c->changelog   = $bridge->getCommitMessage();
             $c->changeby    = $this->authUser->email; //???
             $c->changeby_id = $this->authUser->id; //???
-             
+            $c->branch       = $bridge->branch;
+            //print_r($bridge);exit;
             $c->ctime       = isset($bridge->props['Date']) ? strtotime($bridge->props['Date']) : time();
             $c->fileActions = $bridge->fileActions;
             $changes[] = $c;
@@ -225,7 +226,7 @@ class MTrack_CommitChecker {
         $changes = $this->_getChanges($bridge);
         
         
-        print_R($changes);
+        //print_R($changes);
         
 
         // Deferred by tid