From: Chris Date: Thu, 24 May 2012 04:31:29 +0000 (+0800) Subject: DataObjects/Core_notify_recur.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=6de9068b0efd9e8305d0112e25b6a56c6b32f294;p=Pman.Core DataObjects/Core_notify_recur.php --- diff --git a/DataObjects/Core_notify_recur.php b/DataObjects/Core_notify_recur.php index 63e9945b..777b075a 100644 --- a/DataObjects/Core_notify_recur.php +++ b/DataObjects/Core_notify_recur.php @@ -58,13 +58,13 @@ class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject function notifytimes($advance) { - error_log($this->start); - error_log($this->end); + // make a list of datetimes when notifies need to be generated for. // it starts 24 hours ago.. or when dtstart $this->notifytimesRange($advance); - + error_log($this->start); + error_log($this->end); if (strtotime($this->start) > strtotime($this->end)) { return array(); // no data.. }