NotifySend.php
authorAlan Knowles <alan@akkbhome.com>
Wed, 6 Apr 2011 15:43:44 +0000 (23:43 +0800)
committerAlan Knowles <alan@akkbhome.com>
Wed, 6 Apr 2011 15:43:44 +0000 (23:43 +0800)
NotifySend.php

index 05f44f6..f29826b 100644 (file)
@@ -86,15 +86,13 @@ class Pman_Core_NotifySend extends Pman
             if ($code == 451) {
                 // try again later..
                 // check last event for this item..
-                
                 $this->addEvent('NOTIFY', $w, 'GREYLISTED');
-                
                 $w->act_when = date('Y-m-d H:i:s', strtotime('NOW + 5 MINUTES'));
                 $w->update($ww);
                 die("GREYLISTED");
             }
             // fail.. = log and give up..
-            
+            $this->addEvent('NOTIFY', $w, 'FAILED - '. $res->toString());