X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fpublic.php;h=0ceeef98e8c1cf4f5e5e5a25f46d8733ad1cfd7a;hb=6a3204d08e035812cf111e20f72bf0c7ffb4c601;hp=5a11cece18d50e50c3e88356bbbb61ede259d9c3;hpb=d6d9a0a98155b251ff9893637ab4b8e641331d04;p=quix0rs-gnu-social.git diff --git a/actions/public.php b/actions/public.php index 5a11cece18..0ceeef98e8 100644 --- a/actions/public.php +++ b/actions/public.php @@ -165,7 +165,7 @@ class PublicAction extends Action NOTICES_PER_PAGE + 1); if (!$notice) { - $this->server_error(_('Could not retrieve public stream.')); + $this->serverError(_('Could not retrieve public stream.')); return; } @@ -187,7 +187,6 @@ class PublicAction extends Action function showExportData() { - $this->elementStart('div', array('id' => 'exportdata', 'class' => 'section')); $fl = new FeedList($this); $fl->show(array(0 => array('href' => common_local_url('publicrss'), 'type' => 'rss', @@ -197,6 +196,5 @@ class PublicAction extends Action 'type' => 'atom', 'version' => 'Atom 1.0', 'item' => 'publicatom'))); - $this->elementEnd('div'); } }