Notify.php
authorAlan Knowles <alan@roojs.com>
Mon, 29 Apr 2013 02:56:08 +0000 (10:56 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 29 Apr 2013 02:56:08 +0000 (10:56 +0800)
Notify.php

index 09ef697..72028aa 100644 (file)
@@ -214,19 +214,16 @@ class Pman_Core_Notify extends Pman
                 continue;
             }
             if ($this->poolHasDomain($p->person_id_email)) {
-                
+                $ar[] = $p; // push it on the end..
                 if (in_array($p->person_id_email, $pushed)) {
                     // it's been pushed to the end, and nothing has
                     // been pushed since.s
                     // give up, let the next run sort it out.
-                    $ar[] = $p; // push it on the end..
+                    continue;
                     continue;
                 }
                 
                 
-                
-                $pushed[] = $p->person_id_email;
-                
                 echo "domain {$p->person_id_email} already on queue, pushing to end.\n";
                 //sleep(3);
                 continue;