DataObjects/Core_notify_recur.php
authoredward <edward@roojs.com>
Wed, 2 Dec 2015 02:40:29 +0000 (10:40 +0800)
committeredward <edward@roojs.com>
Wed, 2 Dec 2015 02:40:29 +0000 (10:40 +0800)
DataObjects/Core_notify_recur.php

index 81e3e7c..0e74964 100644 (file)
@@ -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(