1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:45:55 +00:00

implement a simple pseudo-dashboard feed; display feeds having update errors there instead of client-based 'no feed selected' whiteBox plug (closes #189)

This commit is contained in:
Andrew Dolgov
2010-11-04 19:11:54 +03:00
parent 85a922895f
commit fe1087fbb7
5 changed files with 45 additions and 6 deletions

View File

@@ -289,6 +289,15 @@
$csync = $_REQUEST["csync"];
$order_by = db_escape_string($_REQUEST["order_by"]);
/* Feed -5 is a special case: it is used to display auxiliary information
* when there's nothing to load - e.g. no stuff in fresh feed */
if ($feed == -5) {
generate_dashboard_feed($link);
print "</reply>";
return;
}
/* Updating a label ccache means recalculating all of the caches
* so for performance reasons we don't do that here */