rssfuncs: show fetch done debug message in appropriate place

This commit is contained in:
Andrew Dolgov 2013-02-23 18:42:14 +04:00
parent ab457a9c96
commit 5de51df7f8
1 changed files with 4 additions and 4 deletions

View File

@ -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()) {