mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-18 13:24:37 -04:00
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
This commit is contained in:
committed by
GitHub
parent
5e622c60fa
commit
a18c35046d
@@ -58,7 +58,7 @@ if (!empty($cliOptions->errors)) {
|
||||
|
||||
$username = $cliOptions->user;
|
||||
|
||||
if (!empty(preg_grep("/^$username$/i", listUsers()))) {
|
||||
if (!empty(preg_grep("/^$username$/i", FreshRSS_user_Controller::listUsers()))) {
|
||||
fail('FreshRSS warning: username already exists “' . $username . '”', EXIT_CODE_ALREADY_EXISTS);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user