diff options
author | Andrew Dolgov <[email protected]> | 2012-10-31 16:15:29 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-10-31 16:15:29 +0400 |
commit | 32532f1c0f6a997060ee050654787b2bfa3329a6 (patch) | |
tree | 44d159c9e93fd9ac994fa5642a5792a3ca553730 /include/functions.php | |
parent | 29064218d07081fb1325102a380cd828704324f0 (diff) |
improve status reporting for linked feeds
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php index a81a2c0cd..0e98b4a54 100644 --- a/include/functions.php +++ b/include/functions.php @@ -5124,6 +5124,12 @@ if ($feeds) { if ($feeds['error']) { $status = $feeds['error']['code'] + 10; + + // access denied + if ($status == 16) { + db_query($link, "DELETE FROM ttrss_linked_feeds + WHERE instance_id = '$id'"); + } } else { $status = 1; |