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 --- cli/db-restore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/db-restore.php') diff --git a/cli/db-restore.php b/cli/db-restore.php index 0de624519..dc4550b08 100755 --- a/cli/db-restore.php +++ b/cli/db-restore.php @@ -37,7 +37,7 @@ if (!$ok) { fail('FreshRSS database error: ' . (is_string($_SESSION['bd_error'] ?? null) ? $_SESSION['bd_error'] : 'Unknown error')); } -foreach (listUsers() as $username) { +foreach (FreshRSS_user_Controller::listUsers() as $username) { $username = cliInitUser($username); $filename = DATA_PATH . "/users/{$username}/backup.sqlite"; if (!file_exists($filename)) { -- cgit v1.2.3