summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-10-31 16:15:29 +0400
committerAndrew Dolgov <[email protected]>2012-10-31 16:15:29 +0400
commit32532f1c0f6a997060ee050654787b2bfa3329a6 (patch)
tree44d159c9e93fd9ac994fa5642a5792a3ca553730 /include
parent29064218d07081fb1325102a380cd828704324f0 (diff)
improve status reporting for linked feeds
Diffstat (limited to 'include')
-rw-r--r--include/functions.php6
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;