DataObjects/Core_notify_recur.php
authorAlan Knowles <alan@roojs.com>
Thu, 7 Jan 2016 07:28:18 +0000 (15:28 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 7 Jan 2016 07:28:18 +0000 (15:28 +0800)
DataObjects/Core_notify_recur.php

index 514ef38..b4f8cd3 100644 (file)
@@ -195,6 +195,13 @@ class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject
 
     }
     
+    function person()
+    {
+        $p = DB_DAtaObject::factory('Person');
+        $p->get($this->person_id);
+        return $p;
+    }
+    
     function onUpdate($old, $request,$roo)
     {
         $this->generateNotificationsSingle();