From: Andrew Dolgov Date: Sat, 23 Feb 2013 14:42:14 +0000 (+0400) Subject: rssfuncs: show fetch done debug message in appropriate place X-Git-Tag: 1.7.1~50 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5de51df7f89b425448f2cbda72d6109bdbdd3ff6;p=tt-rss.git rssfuncs: show fetch done debug message in appropriate place --- diff --git a/include/rssfuncs.php b/include/rssfuncs.php index a1ddbb74..70698667 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -258,6 +258,10 @@ $feed_data = $plugin->hook_feed_fetched($feed_data); } + if ($debug_enabled) { + _debug("update_rss_feed: fetch done, parsing..."); + } + $rss = new SimplePie(); $rss->set_output_encoding('UTF-8'); $rss->set_raw_data($feed_data); @@ -278,10 +282,6 @@ // print_r($rss); - if ($debug_enabled) { - _debug("update_rss_feed: fetch done, parsing..."); - } - $feed = db_escape_string($feed); if (!$rss->error()) {