projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed43051
)
DataObjects/Core_notify_recur.php
author
edward
<edward@roojs.com>
Wed, 2 Dec 2015 02:40:29 +0000
(10:40 +0800)
committer
edward
<edward@roojs.com>
Wed, 2 Dec 2015 02:40:29 +0000
(10:40 +0800)
DataObjects/Core_notify_recur.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify_recur.php
b/DataObjects/Core_notify_recur.php
index
81e3e7c
..
0e74964
100644
(file)
--- a/
DataObjects/Core_notify_recur.php
+++ b/
DataObjects/Core_notify_recur.php
@@
-169,12
+169,11
@@
class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject
unset($old[$time]);
continue;
}
- if (strtotime($time) < time()) {
- // will not get deleted..
- //echo "SKIP BEFORE NOW";
-// unset($old[$time]);
+
+ if (strtotime($time) < time()) { // should not happen, just in case...
continue;
}
+
// do not have a notify event... creat it..
$add = DB_DataObject::factory('core_notify');
$add->setFrom(array(