- $notice = Notice::publicStream(0, 1);
-
- if (!$notice) {
- $this->serverError(_('Could not retrieve public stream.'));
- return;
- }
-
- // no notices in the public stream, let's get out of here
- if ($notice->count()) {
- return;
- }
-
- $message = _('This is the public timeline for %%site.name%% but noone has posted anything yet.') . ' ';