summaryrefslogtreecommitdiff
path: root/actions/public.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-04-03 14:22:10 -0700
committerZach Copley <zach@controlyourself.ca>2009-04-03 14:22:10 -0700
commit123f6d7d0cfa707e7a5167257978a46aaa7d2938 (patch)
treef2c079a38806efc6222988b45d756dbca79d126e /actions/public.php
parentd83f6c32690b34a4aa283f8665c9fa2c4f7df185 (diff)
parent8f969f8f9834869dd8546ed5e4cca0262aff2ca9 (diff)
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
Diffstat (limited to 'actions/public.php')
-rw-r--r--actions/public.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/actions/public.php b/actions/public.php
index fca90488f..5a2720a9a 100644
--- a/actions/public.php
+++ b/actions/public.php
@@ -168,14 +168,13 @@ class PublicAction extends Action
function showPageNotice()
{
- $notice = Notice::publicStream(0, 1);
+ $notice = new Notice;
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;
}