projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d45b88b
)
DataObjects/Core_notify_recur.php
author
Chris
<chris@roojs.com>
Thu, 24 May 2012 04:13:52 +0000
(12:13 +0800)
committer
Chris
<chris@roojs.com>
Thu, 24 May 2012 04:13:52 +0000
(12:13 +0800)
DataObjects/Core_notify_recur.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify_recur.php
b/DataObjects/Core_notify_recur.php
index
9392be0
..
a7cdad1
100644
(file)
--- a/
DataObjects/Core_notify_recur.php
+++ b/
DataObjects/Core_notify_recur.php
@@
-59,6
+59,8
@@
class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject
// make a list of datetimes when notifies need to be generated for.
// it starts 24 hours ago.. or when dtstart
list($start, $end) = $this->notifytimesRange($advance);
+ error_log($start);
+ error_log($end);
if (strtotime($start) > strtotime($end)) {
return array(); // no data..
}
@@
-144,7
+146,7
@@
class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject
function generateNotifications(){
//$this->notifytimes(2);
$test = $this->notifytimes(2);
- error_log($test
[0]
);
+ error_log($test);
}
}