rssfuncs: show fetch done debug message in appropriate place

master
Andrew Dolgov 12 years ago
parent ab457a9c96
commit 5de51df7f8

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

Loading…
Cancel
Save