NotifySend.php
authorEdward <edward@roojs.com>
Tue, 3 Jun 2014 06:15:16 +0000 (14:15 +0800)
committerEdward <edward@roojs.com>
Tue, 3 Jun 2014 06:15:16 +0000 (14:15 +0800)
NotifySend.php

index 411a6de..2b3529c 100644 (file)
@@ -482,6 +482,10 @@ class Pman_Core_NotifySend extends Pman
             echo "calling :" . get_class($object) . '::' .$m . "\n";
             return $object->$m($rcpt, $last_sent_date, $notify, $force);
         }
+        
+        if(!empty($notify->evtype) && $notify->evtype == 'campaign_detail::drawWinner'){
+            echo "calling :" . $notify->evtype . "\n";
+        }
                 
         if (!method_exists($object, 'toEmail')) {
             //var_Dump($object);