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