From e4484a876dcdc2c99393abe4c1f802afada726d9 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 24 May 2012 17:24:07 +0800 Subject: [PATCH] DataObjects/Core_notify_recur.php --- DataObjects/Core_notify_recur.php | 32 +------------------------------ 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/DataObjects/Core_notify_recur.php b/DataObjects/Core_notify_recur.php index a92a84b4..2c94aee7 100644 --- a/DataObjects/Core_notify_recur.php +++ b/DataObjects/Core_notify_recur.php @@ -85,45 +85,15 @@ class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject } function generateNotifications(){ - //$this->notifytimes(2); - //DB_DataObject::debugLevel(1); + //DB_DataObject::debugLevel(1); $w = DB_DataObject::factory($this->tableName()); - //$this->notifytimes(2); $w->find(); - //$test = $w->fetchAll(); - //$test = $this->notifytimes(2); - - //$test = array(); while($w->fetch()){ - $notifytime = $w->notifyTimes(2); var_dump($notifytime); -// $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); - //$w->notifytimes(2); - //var_dump($w->notifytimes(2)); } -// foreach($test as $item){ -// error_log($item); -// } - } } -- 2.39.2