summaryrefslogtreecommitdiff
path: root/actions/public.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-04-07 17:12:53 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-04-07 17:12:53 -0400
commit5953d56fe2db5cf610cd13e3806d5596964592cf (patch)
treeac13561b0e647bc9a7c4bc522f714708a0ee2f64 /actions/public.php
parent60861760fc3bdc1cdea407e8ee21eb8c54e77b8f (diff)
parente21844c7e4d522faabede91d213b609f44e63100 (diff)
Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.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;
}