update_rss_feed: log warning when attempting to update unknown feed

This commit is contained in:
Andrew Dolgov 2016-04-29 22:10:00 +03:00
parent 2f1a29d9c8
commit 638fdf732a

View file

@ -318,6 +318,7 @@
if (db_num_rows($result) == 0) { if (db_num_rows($result) == 0) {
_debug("feed $feed NOT FOUND/SKIPPED", $debug_enabled); _debug("feed $feed NOT FOUND/SKIPPED", $debug_enabled);
user_error("Attempt to update unknown/invalid feed $feed", E_USER_WARNING);
return false; return false;
} }