DataObjects/Events.php
authorKH Lau <khlau@roojs.com>
Mon, 4 Sep 2017 02:42:05 +0000 (10:42 +0800)
committerKH Lau <khlau@roojs.com>
Mon, 4 Sep 2017 02:42:05 +0000 (10:42 +0800)
DataObjects/Events.php

index 6b54a7c..d04ee78 100644 (file)
@@ -25,7 +25,6 @@ class Pman_Core_DataObjects_Events extends DB_DataObject
     public $person_id;                       // int(11)  
     public $remarks;                         // blob(65535)  blob
     public $person_table;                    // string(64)
-    public $investor_id;                     // int(11)  
 
     /* the code above is auto generated do not remove the tag below */
     ###END_AUTOCODE
@@ -116,13 +115,7 @@ class Pman_Core_DataObjects_Events extends DB_DataObject
             // empty ontable queries.. these are valid..
             $this->whereAdd("$tn.on_table = ''");
         }
-        
-       if (!empty($q['coba_investor_id'])) {
-           $coba_investor_id = $this->escape($q['coba_investor_id']);          
-            //$dt = date('Y-m-d' , strtotime($q['query']['to']));
-            $this->whereAdd(" {$tn}.coba_investor_id <=  '$coba_investor_id' ");
-        }
-        
+      
         if (isset($q['query']['person_sum'])) {
             //DB_DataObject::debugLevel(1);
             $this->_extra_cols = array('qty' );