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

index a6a2a68..a1ae4e0 100644 (file)
@@ -116,9 +116,9 @@ class MTrack_SCM_Git_Event extends MTrackSCMEvent
             
         }
         // fixme..
-        if (!count($ent->branches)) {
-            $ent->branches[] = $this->branch; //'master';
-        }
+        //if (!count($ent->branches)) {
+        //    $ent->branches[] = $this->branch; //'master';
+        //}
         $ent->files_array = array_values($ent->files);
         return $ent;
     }