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

index d11c56a..4fe1079 100644 (file)
@@ -300,8 +300,6 @@ class Pman_MTrack_DataObjects_Mtrack_change extends DB_DataObject
         }
         
         
-        
-        
         $this->ontable = 'mtrack_repos';
         $this->onid = $checker->repo->id;
         $this->changedate = date('Y-m-d H:i:s', $ce->ctime);
index f11da7d..ea6b86b 100644 (file)
@@ -450,7 +450,6 @@ class Pman_MTrack_DataObjects_Mtrack_repos extends DB_DataObject
         }
         $b->insert();
         return $b;
-        
     }
     
     // these should really be phased out, and the Controlers use impl()-> directly..
@@ -876,15 +875,6 @@ class Pman_MTrack_DataObjects_Mtrack_repos extends DB_DataObject
         return $ret;
         
         
-        //$rcpt->sendTemplate('repo_daily_changes', $obj);
-        
-        //echo '<PRE>'.htmlspecialchars(print_r($mr,true));
-        
-        //exit;
-         
-        
-        
-        
     }
     // used by diff template... could be better ....
      
index 97058b0..aa72147 100644 (file)
@@ -9,12 +9,11 @@ class Pman_MTrack_DataObjects_Mtrack_repos_branch extends DB_DataObject
     ###START_AUTOCODE
     /* the code below is auto generated do not remove the above tag */
 
-    public $__table = 'mtrack_repos';                    // table name
+    public $__table = 'mtrack_repos_branch';                    // table name
     public $id;                              // int(11)  not_null primary_key auto_increment
     public $name;                       // string(64)  not_null
     public $repo_id;                         // string(16)  not_null
      
-     
     function repo()
     {
         static $cache;