X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FCore_notify_recur.php;fp=DataObjects%2FCore_notify_recur.php;h=0e7496459d34e5b5bcd8e4baf6face2101ad1201;hp=81e3e7c60c93f762dda8e74d1288430bcc7243b6;hb=57a0a3180a74a8732e73d8fbfd37b9a18aca656f;hpb=ed43051791c52e45c675d6ea746f9d64d2d09a49 diff --git a/DataObjects/Core_notify_recur.php b/DataObjects/Core_notify_recur.php index 81e3e7c6..0e749645 100644 --- 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(