From b2b78d3cde124b9baeacba974b951fb0a5bd0271 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 6 Apr 2011 16:20:22 +0800 Subject: [PATCH] Notify.php --- Notify.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Notify.php b/Notify.php index 000cd408..d7892c72 100644 --- a/Notify.php +++ b/Notify.php @@ -35,8 +35,13 @@ class Pman_Core_Notify extends Pman $w = DB_DataObject::factory('core_notify'); - - $w->whereAdd('act_when < NOW()'); + $w->whereAdd('act_when < sent'); + $w->fetchAll('id'); + $w->limit(1000); + + + + -- 2.39.2