]> git.wh0rd.org - tt-rss.git/blobdiff - backend.php
implement a simple pseudo-dashboard feed; display feeds having update errors there...
[tt-rss.git] / backend.php
index 252548167e31aaafdd5e3166f1833e9cbca90c4a..0182b24361a20c7045e6bb062d0b2350010bb80a 100644 (file)
                        $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 */