diff options
| author | 2023-09-06 21:41:17 +0200 | |
|---|---|---|
| committer | 2023-09-06 21:41:17 +0200 | |
| commit | 98559cebc367648195080c1588ea197607c216f7 (patch) | |
| tree | 512be791adab5d1c9a82a775494b89f2da75e09f /app/Controllers/statsController.php | |
| parent | 2e1d45a88d2cfd439f4f9e7d92ca9c8cbdb39466 (diff) | |
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
Diffstat (limited to 'app/Controllers/statsController.php')
| -rw-r--r-- | app/Controllers/statsController.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/Controllers/statsController.php b/app/Controllers/statsController.php index 9890db04b..bb99bc601 100644 --- a/app/Controllers/statsController.php +++ b/app/Controllers/statsController.php @@ -32,10 +32,7 @@ class FreshRSS_stats_Controller extends FreshRSS_ActionController { ]); $catDAO = FreshRSS_Factory::createCategoryDao(); - $feedDAO = FreshRSS_Factory::createFeedDao(); - $catDAO->checkDefault(); - $feedDAO->updateTTL(); $this->view->categories = $catDAO->listSortedCategories(false) ?: []; $this->view->default_category = $catDAO->getDefault(); |
