DataObjects/Core_notify_recur.php
authorChris <chris@roojs.com>
Thu, 24 May 2012 06:23:59 +0000 (14:23 +0800)
committerChris <chris@roojs.com>
Thu, 24 May 2012 06:23:59 +0000 (14:23 +0800)
DataObjects/Core_notify_recur.php

index c186ee8..37e4879 100644 (file)
@@ -146,6 +146,7 @@ class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject
     function generateNotifications(){
         //$this->notifytimes(2);
         //DB_DataObject::debugLevel(1);
+        error_log($this->tableName());
         $w = DB_DataObject::factory($this->tableName());
         //$this->notifytimes(2);
         $w->find();
@@ -153,7 +154,7 @@ class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject
         
         //$test = $this->notifytimes(2);
         
-        $test = array();
+        //$test = array();
         while($w->fetch()){
             $this->id = $w->id;
             $this->person_id = $w->person_id;