From 5de51df7f89b425448f2cbda72d6109bdbdd3ff6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 23 Feb 2013 18:42:14 +0400 Subject: [PATCH] rssfuncs: show fetch done debug message in appropriate place --- include/rssfuncs.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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()) { -- 2.39.5