DataObjects/Core_notify_recur.php
authorChris <chris@roojs.com>
Thu, 24 May 2012 06:28:11 +0000 (14:28 +0800)
committerChris <chris@roojs.com>
Thu, 24 May 2012 06:28:11 +0000 (14:28 +0800)
DataObjects/Core_notify_recur.php

index 37e4879..689a6eb 100644 (file)
@@ -146,7 +146,7 @@ class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject
     function generateNotifications(){
         //$this->notifytimes(2);
         //DB_DataObject::debugLevel(1);
-        error_log($this->tableName());
+        
         $w = DB_DataObject::factory($this->tableName());
         //$this->notifytimes(2);
         $w->find();
@@ -156,20 +156,20 @@ class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject
         
         //$test = array();
         while($w->fetch()){
-            $this->id = $w->id;
-            $this->person_id = $w->person_id;
-            $this->dtstart = $w->dtstart;
-            $this->dtend = $w->dtend;
-            $this->tz = $w->tz;
-            $this->updated_dt = $w->updated_dt;
-            $this->last_applied_dt = $w->last_applied_dt;
-            $this->freq = $w->freq;
-            $this->freq_day = $w->freq_day;
-            $this->freq_hour = $w->freq_hour;
-            $this->onid = $w->onid;
-            $this->ontable = $w->ontable;
-            $this->last_event_id = $w->last_event_id;
-            $this->method = $w->method;
+//            $this->id = $w->id;
+//            $this->person_id = $w->person_id;
+//            $this->dtstart = $w->dtstart;
+//            $this->dtend = $w->dtend;
+//            $this->tz = $w->tz;
+//            $this->updated_dt = $w->updated_dt;
+//            $this->last_applied_dt = $w->last_applied_dt;
+//            $this->freq = $w->freq;
+//            $this->freq_day = $w->freq_day;
+//            $this->freq_hour = $w->freq_hour;
+//            $this->onid = $w->onid;
+//            $this->ontable = $w->ontable;
+//            $this->last_event_id = $w->last_event_id;
+//            $this->method = $w->method;
             //$this->dtstart = $w->dtstart;
             //$this->dtend = $w->dtend;
             //$this = clone($w);