From d785ddde2a00a9eadd38c45c528f2d2f6d1c356a Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 25 Jun 2022 11:15:51 +0200 Subject: New option to automatically mark as read gone articles (#4426) * New option to automatically mark as read gone articles Option to automatically and immediately mark as read entries / articles that are no longer provided in their upstream RSS / ATOM / XPath feed * Reduce SQL queries Optimisation: Perform cache update only once --- app/Controllers/subscriptionController.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/Controllers/subscriptionController.php') diff --git a/app/Controllers/subscriptionController.php b/app/Controllers/subscriptionController.php index 1994a2164..8c7cf7e4a 100644 --- a/app/Controllers/subscriptionController.php +++ b/app/Controllers/subscriptionController.php @@ -126,6 +126,7 @@ class FreshRSS_subscription_Controller extends FreshRSS_ActionController { $ttl = FreshRSS_Context::$user_conf->ttl_default; } + $feed->_attributes('read_upon_gone', Minz_Request::paramTernary('read_upon_gone')); $feed->_attributes('mark_updated_article_unread', Minz_Request::paramTernary('mark_updated_article_unread')); $feed->_attributes('read_upon_reception', Minz_Request::paramTernary('read_upon_reception')); $feed->_attributes('clear_cache', Minz_Request::paramTernary('clear_cache')); -- cgit v1.2.3