$this->j++;
return array(common_local_url('shownotice', array('notice' => $n[0])),
common_date_w3dtf($n[1]),
- null,
+ 'never',
null);
} else {
return null;
$notice->whereAdd("created >= '$begindt'");
$notice->whereAdd("created < '$enddt'");
- $notice->whereAdd('is_local != 0');
+ $notice->whereAdd('is_local = ' . Notice::LOCAL_PUBLIC);
$notice->orderBy('created');