From: Alan Knowles Date: Thu, 20 Aug 2015 02:45:12 +0000 (+0800) Subject: Notify.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=e9d83dbd244aeb1faf8fc2e06acfdb7c1b9d838e Notify.php --- diff --git a/Notify.php b/Notify.php index d6e70a69..984a8abf 100644 --- a/Notify.php +++ b/Notify.php @@ -204,7 +204,7 @@ class Pman_Core_Notify extends Pman $w->autoJoin(); - $ar = $w->fetchAll(); + $ar = array(); // $w->fetchAll(); if (!empty($opts['list'])) { if (empty($ar)) { @@ -224,7 +224,9 @@ class Pman_Core_Notify extends Pman $pushed = array(); $requeue = array(); while (true) { - + if ($w->fetch()) { + $ar[] = clone($w); + } $this->logecho("BATCH SIZE: ". count($ar) );