]> git.wh0rd.org Git - tt-rss.git/commitdiff
rssfuncs: show fetch done debug message in appropriate place
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 23 Feb 2013 14:42:14 +0000 (18:42 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 23 Feb 2013 14:42:14 +0000 (18:42 +0400)
include/rssfuncs.php

index a1ddbb740fabac7780bfe6bbd562dad6c2ff4a30..70698667f2874ee641b9aaf7835adf77a008d32a 100644 (file)
                        $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);
 
 //             print_r($rss);
 
-               if ($debug_enabled) {
-                       _debug("update_rss_feed: fetch done, parsing...");
-               }
-
                $feed = db_escape_string($feed);
 
                if (!$rss->error()) {