NotifyAction.php
authorAlan Knowles <alan@roojs.com>
Thu, 29 Sep 2011 14:33:21 +0000 (22:33 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 29 Sep 2011 14:33:21 +0000 (22:33 +0800)
NotifyAction.php

index ffd385c..8b692e3 100644 (file)
@@ -42,7 +42,7 @@ class Pman_Core_NotifyAction extends Pman
         //   on_table,
         //   action(eg. APPROVAL)
         //   on_id (comma delimited.)
-        DB_DataObject::debugLevel(1);
+        //DB_DataObject::debugLevel(1);
         $n = DB_DataObject::factory('core_notify');
         $n->person_id = $this->authUser->id;
         // in theory in workflow, this could trigger another action...
@@ -70,7 +70,7 @@ class Pman_Core_NotifyAction extends Pman
             
             // add an event?????
         }
-        
+        $this->jok("updated");
         
         
     }