diff options
author | Andrew Dolgov <[email protected]> | 2013-02-23 18:42:14 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-02-23 18:42:14 +0400 |
commit | 5de51df7f89b425448f2cbda72d6109bdbdd3ff6 (patch) | |
tree | 69ae2fcc6f3f7e1b5948f1ff37f4344f6b2ba53a /include/rssfuncs.php | |
parent | ab457a9c96fee3d7f08272c97efd01a7c0e5171e (diff) |
rssfuncs: show fetch done debug message in appropriate place
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r-- | include/rssfuncs.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index a1ddbb740..70698667f 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()) { |