// make a list of datetimes when notifies need to be generated for.
// it starts 24 hours ago.. or when dtstart
- list($this->start, $this->end) = $this->notifytimesRange($advance);
+ $this->notifytimesRange($advance);
if (strtotime($this->start) > strtotime($this->end)) {
return array(); // no data..
function generateNotifications(){
//$this->notifytimes(2);
$test = $this->notifytimes(2);
- error_log($test);
+ error_log($test[0]);
}
}