summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/backend.php b/backend.php
index 252548167..0182b2436 100644
--- a/backend.php
+++ b/backend.php
@@ -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 */