projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1b292b
)
Notify.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 8 Nov 2012 14:01:53 +0000
(22:01 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 8 Nov 2012 14:01:53 +0000
(22:01 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
15bbc7a
..
ad06b16
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-126,7
+126,9
@@
class Pman_Core_Notify extends Pman
// standard
- $w->whereAdd('act_when > sent'); // eg.. sent is not valid..
+ //$w->whereAdd('act_when > sent'); // eg.. sent is not valid..
+ $w->whereAdd("sent < '1970-01-01'"); // eg.. sent is not valid..
+
$w->whereAdd('act_start > NOW() - INTERVAL 14 DAY'); // ignore the ones stuck in the queue
if (!$this->force) {
$w->whereAdd('act_when < NOW()'); // eg.. not if future..