]> git.wh0rd.org Git - tt-rss.git/commitdiff
move DAEMON_REFRESH_ONLY check to update_rss_feed
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 27 Nov 2005 14:49:36 +0000 (15:49 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 27 Nov 2005 14:49:36 +0000 (15:49 +0100)
functions.php

index 2dc70a1612c9f26b3f637db7f997fba42caaf78c..a4156651e93b85016351fb76b3c727d02a390d4b 100644 (file)
                        purge_old_posts($link);
                }
 
-               if (DAEMON_REFRESH_ONLY && !$_GET["daemon"]) {
-                       return;                 
-               }
-
 //             db_query($link, "BEGIN");
 
                $result = db_query($link, "SELECT feed_url,id,
 
                if (WEB_DEMO_MODE) return;
 
+               if (DAEMON_REFRESH_ONLY && !$_GET["daemon"]) {
+                       return;                 
+               }
+
                $feed = db_escape_string($feed);
 
                error_reporting(0);