projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c22ce6d
)
Notify.php
author
Alan Knowles
<alan@akkbhome.com>
Sun, 10 Apr 2011 06:44:19 +0000
(14:44 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Sun, 10 Apr 2011 06:44:19 +0000
(14:44 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
7a41894
..
6085de8
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-40,7
+40,7
@@
class Pman_Core_Notify extends Pman
$w = DB_DataObject::factory($this->table);
$w->whereAdd('act_when > sent'); // eg.. sent is not valid..
- $w->whereAdd('act_when
>
NOW()'); // eg.. not if future..
+ $w->whereAdd('act_when
<
NOW()'); // eg.. not if future..
$w->orderBy('act_when ASC'); // oldest first.
$w->limit(1000); // we can run 1000 ...