MTrack/CommitChecker.php
authorAlan Knowles <alan@akbkhome.com>
Mon, 27 Jun 2011 10:51:24 +0000 (18:51 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 27 Jun 2011 10:51:24 +0000 (18:51 +0800)
MTrack/CommitChecker.php

index 35d8494..6f8ead4 100644 (file)
@@ -299,14 +299,18 @@ class MTrack_CommitChecker {
             $deferred[$T->id]['comments'][] = $log;
             
             if (isset($act['spent']) && $c->changeby != $me) {
-                $spent_by_tid_by_user[$T->id][$c->changeby][] = $act['spent'];
+                $spent_by_tid_by_user[$T->id][$c->changeby_id][] = $act['spent'];
                 unset($act['spent']);
             }
             $deferred[$T->tid]['act'][] = $act;
 
           }
+          //??? 
           $this->checkVeto('postCommit', $log, $fqfiles, $actions);
         }
+        
+        // defered is a list of actions...
+        
        // print_r($deferred);
         foreach ($deferred as $tid => $info) {
           $T = $T_by_tid[$tid];