NotifySend.php
authorleon <leon@roojs.com>
Fri, 4 Mar 2022 04:30:00 +0000 (12:30 +0800)
committerleon <leon@roojs.com>
Fri, 4 Mar 2022 04:30:00 +0000 (12:30 +0800)
NotifySend.php

index 3054726..e32fc6c 100644 (file)
@@ -102,14 +102,6 @@ class Pman_Core_NotifySend extends Pman
             $this->errorHandler("invalid id\n");
         }
 
-        $ev = $this->addEvent('NOTIFYFAIL', $w, "TEST ERROR 2" );
-        $ww = clone($w);
-        $w->sent = (!$w->sent || $w->sent == '0000-00-00 00:00:00') ? $w->sqlValue('NOW()') : $w->sent; // do not update if sent.....
-        $w->msgid = '';
-        $w->event_id = $ev->id;
-        $w->update($ww);
-        $this->errorHandler(date('Y-m-d h:i:s') . " - FAILED -  BAD EMAIL - {$p->email} \n");
-        
         if (!$force && strtotime($w->act_when) < strtotime($w->sent)) {