$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;
$nn->act_start( date("Y-m-d H:i:s", $when !== false ? strtotime($when) : time()) );
$nn->insert();
}
-
-
+
}
// static really...
/**
$w->whereAdd('person_id != '. (int) $event->person_id);
-
-
+
$watches = $w->fetchAll();
//print_R($watches);exit;
// 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;