Fix #5661 - MTrack - daily email large and no branch
authorAlan Knowles <alan@roojs.com>
Tue, 15 Jan 2019 10:25:06 +0000 (18:25 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 15 Jan 2019 10:25:06 +0000 (18:25 +0800)
DataObjects/Mtrack_change.php

index b090ed8..35d52d8 100644 (file)
@@ -336,24 +336,20 @@ class Pman_MTrack_DataObjects_Mtrack_change extends DB_DataObject
     }
     
     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(),