From 0569a7122c0b5431968473d89320cb8941daa0c1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 18 Jan 2011 00:32:48 +0300 Subject: re-add ForceUpdate to viewfeed for update debugging, add some filter debugging --- functions.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 4737e60ee..64269aada 100644 --- a/functions.php +++ b/functions.php @@ -766,6 +766,10 @@ $filters = load_filters($link, $feed, $owner_uid); + if (defined('DAEMON_EXTENDED_DEBUG') || $_REQUEST['xdebug']) { + print_r($filters); + } + if ($use_simplepie) { $iterator = $rss->get_items(); } else { @@ -4777,6 +4781,10 @@ catchupArticlesById($link, $ids, $cmode); } + if ($subop == "ForceUpdate" && sprintf("%d", $feed) > 0) { + update_rss_feed($link, $feed, true); + } + if ($subop == "MarkAllRead") { catchup_feed($link, $feed, $cat_view); -- cgit v1.2.3-54-g00ecf