don't consider no articles situation as an error

This commit is contained in:
Andrew Dolgov 2006-05-24 04:11:35 +01:00
parent 71ad883b28
commit 39541e74b2
1 changed files with 2 additions and 2 deletions

View File

@ -345,9 +345,9 @@
if (!$iterator || !is_array($iterator)) $iterator = $rss; if (!$iterator || !is_array($iterator)) $iterator = $rss;
if (!is_array($iterator)) { if (!is_array($iterator)) {
db_query($link, "UPDATE ttrss_feeds /* db_query($link, "UPDATE ttrss_feeds
SET last_error = 'Parse error: can\'t find any articles.' SET last_error = 'Parse error: can\'t find any articles.'
WHERE id = '$feed'"); WHERE id = '$feed'"); */
return; // WTF? return; // WTF?
} }