projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3e854d8
)
DataObjects/Core_watch.php
author
Alan Knowles
<alan@roojs.com>
Fri, 30 Nov 2012 02:07:16 +0000
(10:07 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 30 Nov 2012 02:07:16 +0000
(10:07 +0800)
DataObjects/Core_watch.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_watch.php
b/DataObjects/Core_watch.php
index
583e38d
..
7f798be
100644
(file)
--- a/
DataObjects/Core_watch.php
+++ b/
DataObjects/Core_watch.php
@@
-102,7
+102,7
@@
class Pman_Core_DataObjects_Core_watch extends DB_DataObject
$nn->person_id = $w->person_id;
$nf = clone($nn);
$nn->person_id = $w->person_id;
$nf = clone($nn);
- $nf->whereAdd(
'sent < act_when - INTERVAL 1 HOUR'
);
+ $nf->whereAdd(
"sent > '2000-01-01'"
);
if ($nf->count()) {
// we have a item in the queue for that waiting to be sent..
continue;
if ($nf->count()) {
// we have a item in the queue for that waiting to be sent..
continue;
@@
-187,7
+187,8
@@
class Pman_Core_DataObjects_Core_watch extends DB_DataObject
// does this watch already have a flag...
$nf = clone($n);
// does this watch already have a flag...
$nf = clone($n);
- $nf->whereAdd('sent < act_when');
+ $nf->whereAdd("sent > '2000-01-01'");
+ //$nf->whereAdd('sent < act_when');
if ($nf->count()) {
// we have a item in the queue for that waiting to be sent..
continue;
if ($nf->count()) {
// we have a item in the queue for that waiting to be sent..
continue;