From 98559cebc367648195080c1588ea197607c216f7 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 6 Sep 2023 21:41:17 +0200 Subject: Remove obsolete TTL migration code (#5625) Remove `updateTTL` function used to help migration to 5+ year-old FreshRSS 1.10 and FreshRSS 0.7.3 https://github.com/FreshRSS/FreshRSS/pull/1750 This function contributed to locking the database https://github.com/FreshRSS/FreshRSS/pull/5574 Subset of https://github.com/FreshRSS/FreshRSS/pull/3558 --- app/Controllers/subscriptionController.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'app/Controllers/subscriptionController.php') diff --git a/app/Controllers/subscriptionController.php b/app/Controllers/subscriptionController.php index 733a9252c..86083ceb0 100644 --- a/app/Controllers/subscriptionController.php +++ b/app/Controllers/subscriptionController.php @@ -15,10 +15,7 @@ class FreshRSS_subscription_Controller extends FreshRSS_ActionController { } $catDAO = FreshRSS_Factory::createCategoryDao(); - $feedDAO = FreshRSS_Factory::createFeedDao(); - $catDAO->checkDefault(); - $feedDAO->updateTTL(); $this->view->categories = $catDAO->listSortedCategories(false, true) ?: []; $this->view->default_category = $catDAO->getDefault(); -- cgit v1.2.3