From a5c815d35822dab932c0303837e82d88bcb0f308 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 16 Jan 2009 17:12:28 +0100 Subject: code cleanup (remove dashboard initial stuff) --- backend.php | 89 ++++++++++++++++++++++++++++--------------------------------- 1 file changed, 41 insertions(+), 48 deletions(-) (limited to 'backend.php') diff --git a/backend.php b/backend.php index 0c8929f57..08269b3c7 100644 --- a/backend.php +++ b/backend.php @@ -282,62 +282,55 @@ } print ""; - $ret = outputHeadlinesList($link, $feed, $subop, - $view_mode, $limit, $cat_view, $next_unread_feed, $offset, - $vgroup_last_feed, $override_order); - - $topmost_article_ids = $ret[0]; - $headlines_count = $ret[1]; - $returned_feed = $ret[2]; - $disable_cache = $ret[3]; - $vgroup_last_feed = $ret[4]; - - print "]]>"; - - print ""; - print ""; + print ""; + print ""; - $headlines_unread = ccache_find($link, $returned_feed, $_SESSION["uid"]); - - print ""; - printf("", $disable_cache); - - if ($_GET["debug"]) $timing_info = print_checkpoint("10", $timing_info); - - if (is_array($topmost_article_ids) && !get_pref($link, 'COMBINED_DISPLAY_MODE') && !$_SESSION["bw_limit"]) { - print ""; - foreach ($topmost_article_ids as $id) { - outputArticleXML($link, $id, $feed, false); - } - print ""; + $headlines_unread = ccache_find($link, $returned_feed, $_SESSION["uid"]); + + print ""; + printf("", $disable_cache); + + if ($_GET["debug"]) $timing_info = print_checkpoint("10", $timing_info); + + if (is_array($topmost_article_ids) && !get_pref($link, 'COMBINED_DISPLAY_MODE') && !$_SESSION["bw_limit"]) { + print ""; + foreach ($topmost_article_ids as $id) { + outputArticleXML($link, $id, $feed, false); } + print ""; } if ($_GET["debug"]) $timing_info = print_checkpoint("20", $timing_info); -- cgit v1.2.3-54-g00ecf