DataObjects/Mtrack_change.php
authorAlan Knowles <alan@akkbhome.com>
Wed, 6 Apr 2011 23:36:25 +0000 (07:36 +0800)
committerAlan Knowles <alan@akkbhome.com>
Wed, 6 Apr 2011 23:36:25 +0000 (07:36 +0800)
DataObjects/Mtrack_change.php

index 6cc0074..2561006 100644 (file)
@@ -209,32 +209,5 @@ class Pman_MTrack_DataObjects_Mtrack_change extends DB_DataObject
         
         
     }
-    
-    
-    function gatherChanges($since, $uid, $ar) {
-        // array contains a list of project:X repo:X ticket:X etc..
-        
-        $q->whereAdd("person_id != $uid"); /// unless they are commits?
-        
-        $q->whereAdd(implode(' OR ', $conds));
-        $q->whereAdd("changedate > '$since'");
-        
-        // we are going to end up with a list of objects that have changed.
-        // eg. a ticket or a repo..
-        
-        $cs_ar = $q->fetchAll();
-        $ret = array();
-        foreach($cs_ar as $o) {
-            if (!isset($ret[$o->ontable .':'. $o->onid])) {
-                $ret[$o->ontable .':'. $o->onid] = array();
-            }
-            $ret[$o->ontable .':'. $o->onid][] = $o->id;
-        }
-        
-        // something later is going to use those id's to decide what to send out..
-        
-        return $ret;
-        
-        
-    }
+     
 }