From a18c35046daee15e7ac5f85db290d54541a03e3c Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Tue, 11 Nov 2025 08:17:12 +0100 Subject: Housekeeping lib_rss.php (#8193) * Housekeeping lib_rss.php `lib_rss.php` had become much too large, especially after https://github.com/FreshRSS/FreshRSS/pull/7924 Moved most functions to other places. Mostly no change of code otherwise (see comments). * Extension: composer run-script phpstan-third-party --- app/Controllers/indexController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controllers/indexController.php') diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php index 9005dff93..59302d3f1 100644 --- a/app/Controllers/indexController.php +++ b/app/Controllers/indexController.php @@ -383,7 +383,7 @@ class FreshRSS_index_Controller extends FreshRSS_ActionController { } $this->view->terms_of_service = $terms_of_service; - $this->view->can_register = !max_registrations_reached(); + $this->view->can_register = !FreshRSS_user_Controller::max_registrations_reached(); FreshRSS_View::prependTitle(_t('index.tos.title') . ' ยท '); } -- cgit v1.2.3