]> git.wh0rd.org Git - tt-rss.git/commitdiff
inline feed update: set feed as needing update if open_basedir is set + plugins need...
authorAndrew Dolgov <noreply@fakecake.org>
Sat, 30 Jan 2016 10:40:56 +0000 (13:40 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Sat, 30 Jan 2016 10:40:56 +0000 (13:40 +0300)
classes/feeds.php

index 61b1f738e58958bccb948b497d36d80a0559bf77..e0390ecc17cf212352f5bcb20d9540c50fe47297 100755 (executable)
@@ -203,6 +203,9 @@ class Feeds extends Handler_Protected {
                                                                WHERE id = '$feed'");
                                        }
                                }
+                       } else {
+                               $this->dbh->query("UPDATE ttrss_feeds SET last_updated = '1970-01-01', last_update_started = '1970-01-01'
+                                                               WHERE id = '$feed'");
                        }
                }