From 32532f1c0f6a997060ee050654787b2bfa3329a6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 31 Oct 2012 16:15:29 +0400 Subject: improve status reporting for linked feeds --- include/functions.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/functions.php') 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; -- cgit v1.2.3